summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2009-10-09 21:13:30 +0000
committerJohn McCall <rjmccall@apple.com>2009-10-09 21:13:30 +0000
commit9f3059a192ca29fd460df71ddbedc69242b88e61 (patch)
tree73a4e8c69448166b3ab79de7629a03c9c50be01c /clang/test
parenta2b99107c4279caa88de2ecc3a458a9a88bc7c0c (diff)
downloadbcm5719-llvm-9f3059a192ca29fd460df71ddbedc69242b88e61.tar.gz
bcm5719-llvm-9f3059a192ca29fd460df71ddbedc69242b88e61.zip
Refactor the LookupResult API to simplify most common operations. Require users to
pass a LookupResult reference to lookup routines. Call out uses which assume a single result. llvm-svn: 83674
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/SemaCXX/class-names.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/SemaCXX/class-names.cpp b/clang/test/SemaCXX/class-names.cpp
index a5569c0c767..da9014574d2 100644
--- a/clang/test/SemaCXX/class-names.cpp
+++ b/clang/test/SemaCXX/class-names.cpp
@@ -5,7 +5,7 @@ C c;
void D(int);
-class D {}; // expected-note {{previous use is here}}
+class D {};
void foo()
{
@@ -13,7 +13,7 @@ void foo()
class D d;
}
-class D;
+class D; // expected-note {{previous use is here}}
enum D; // expected-error {{use of 'D' with tag type that does not match previous declaration}}
OpenPOWER on IntegriCloud