]> granicus.if.org Git - clang/commit
Extend Sema::ClassifyName() to support C++, ironing out a few issues
authorDouglas Gregor <dgregor@apple.com>
Wed, 27 Apr 2011 04:48:22 +0000 (04:48 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 27 Apr 2011 04:48:22 +0000 (04:48 +0000)
commit3b887354b1b667c97d070ddc67b5354353c4c07b
tree6918d42ba0eff9ecd953365c511ddd0289e3d874
parent173d51286bcaff4b6b76eebf6542d3b1311142e2
Extend Sema::ClassifyName() to support C++, ironing out a few issues
in the classification of template names and using declarations. We now
properly typo-correct the leading identifiers in statements to types,
templates, values, etc. As an added bonus, this reduces the number of
lookups required for disambiguation.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@130288 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseStmt.cpp
lib/Parse/Parser.cpp
lib/Sema/SemaDecl.cpp
lib/Sema/SemaTemplate.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p5.cpp
test/FixIt/typo.cpp
test/SemaCXX/PR9459.cpp
test/SemaTemplate/deduction-crash.cpp