| commit | 054873b0be85583b0499d12fad58566ae5398e4e | [log] [tgz] |
|---|---|---|
| author | Yury Gribov <y.gribov@samsung.com> | Mon Jan 11 09:38:48 2016 +0000 |
| committer | Yury Gribov <y.gribov@samsung.com> | Mon Jan 11 09:38:48 2016 +0000 |
| tree | 2ac1948344659d0dd4cf10cc645f1c6d8535cac3 | |
| parent | 7ceec0b82f11f8b785ca7a34a05c5e2a4e42ccb7 [diff] |
AnalysisConsumer: use canonical decl for both lookup and store of visited decls. Due to redeclarations, the function may have different declarations used in CallExpr and in the definition. However, we need to use a unique declaration for both store and lookup in VisitedCallees. This patch fixes issues with analysis in topological order. A simple test is included. Patch by Alex Sidorin! Differential Revision: http://reviews.llvm.org/D15410 llvm-svn: 257318