summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaInit.h
diff options
context:
space:
mode:
authorSebastian Redl <sebastian.redl@getdesigned.at>2010-01-31 22:27:38 +0000
committerSebastian Redl <sebastian.redl@getdesigned.at>2010-01-31 22:27:38 +0000
commit35351a95541104b3abbc8698f38d0bad560e9e27 (patch)
tree8344b31c22433ba8b1b282252d62c91ec7c81913 /clang/lib/Sema/SemaInit.h
parenta682427e42ada5d97d6d3b659c63d3d9ea62a1ae (diff)
downloadbcm5719-llvm-35351a95541104b3abbc8698f38d0bad560e9e27.tar.gz
bcm5719-llvm-35351a95541104b3abbc8698f38d0bad560e9e27.zip
Add VarDecl::isThisDeclarationADefinition(), which properly encapsulates the logic for when a variable declaration is a (possibly tentativ) definition. Add a few functions building on this, and shift C tentative definition handling over to this new functionality. This shift also kills the Sema::TentativeDefinitions map and instead simply stores all declarations in the renamed list. The correct handling for multiple tentative definitions is instead shifted to the final walk of the list.
llvm-svn: 94968
Diffstat (limited to 'clang/lib/Sema/SemaInit.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud