summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/BasicAliasAnalysis.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2010-12-15 19:43:21 +0000
committerDouglas Gregor <dgregor@apple.com>2010-12-15 19:43:21 +0000
commit1da294a9d645c5e39709d0e2194a0ba2b4891cfc (patch)
tree3c5814694aa8eb8c626a31720d96c7bba7a7c0ff /llvm/lib/Analysis/BasicAliasAnalysis.cpp
parentfdb174b6ef835ea2160d75982da518b93ce7c5ec (diff)
downloadbcm5719-llvm-1da294a9d645c5e39709d0e2194a0ba2b4891cfc.tar.gz
bcm5719-llvm-1da294a9d645c5e39709d0e2194a0ba2b4891cfc.zip
Introduce a RecursiveASTVisitor subclass that finds all unexpanded
parameter packs within a statement, type, etc. Use this visitor to provide improved diagnostics for the presence of unexpanded parameter packs in a full expression, base type, declaration type, etc., by highlighting the unexpanded parameter packs and providing their names, e.g., test/CXX/temp/temp.decls/temp.variadic/p5.cpp:28:85: error: declaration type contains unexpanded parameter packs 'VeryInnerTypes', 'OuterTypes', ... ...VeryInnerTypes, OuterTypes>, pair<InnerTypes, OuterTypes> > types; ~~~~~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~ ~~~~~~~~~~ ^ llvm-svn: 121883
Diffstat (limited to 'llvm/lib/Analysis/BasicAliasAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud