summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaTemplate
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-04-27 04:48:22 +0000
committerDouglas Gregor <dgregor@apple.com>2011-04-27 04:48:22 +0000
commit8b02cd0beae6e38273afb9d339489f6bb59b8bde (patch)
treea6d3229f872d0d9cac8039d0283c4ebbd509f82f /clang/test/SemaTemplate
parentc5d3ba1aad51caed70e0f2e6e52fe6d4436bcae4 (diff)
downloadbcm5719-llvm-8b02cd0beae6e38273afb9d339489f6bb59b8bde.tar.gz
bcm5719-llvm-8b02cd0beae6e38273afb9d339489f6bb59b8bde.zip
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. llvm-svn: 130288
Diffstat (limited to 'clang/test/SemaTemplate')
-rw-r--r--clang/test/SemaTemplate/deduction-crash.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/SemaTemplate/deduction-crash.cpp b/clang/test/SemaTemplate/deduction-crash.cpp
index 8a15605734c..ec97311e5d7 100644
--- a/clang/test/SemaTemplate/deduction-crash.cpp
+++ b/clang/test/SemaTemplate/deduction-crash.cpp
@@ -4,7 +4,7 @@
// Note that the error count below doesn't matter. We just want to
// make sure that the parser doesn't crash.
-// CHECK: 14 errors
+// CHECK: 13 errors
template<a>
struct int_;
OpenPOWER on IntegriCloud