diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-08-09 04:35:01 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2013-08-09 04:35:01 +0000 |
commit | 114394f8246f7829b15e9e7b413ee9e13a60126c (patch) | |
tree | d7589ff1755ecdbca3aa95ac8a69c0726e85dac7 /clang/test/FixIt/typo-crash.cpp | |
parent | 02d0bf0f80eb71f2b1e5b71ac2335f372a761d58 (diff) | |
download | bcm5719-llvm-114394f8246f7829b15e9e7b413ee9e13a60126c.tar.gz bcm5719-llvm-114394f8246f7829b15e9e7b413ee9e13a60126c.zip |
Implement [class.friend]p11's special name lookup rules for friend declarations
of local classes. We were previously handling this by performing qualified
lookup within a function declaration(!!); replace it with the proper scope
lookup.
llvm-svn: 188050
Diffstat (limited to 'clang/test/FixIt/typo-crash.cpp')
-rw-r--r-- | clang/test/FixIt/typo-crash.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/FixIt/typo-crash.cpp b/clang/test/FixIt/typo-crash.cpp index 0ff160e4482..4ea63c542a8 100644 --- a/clang/test/FixIt/typo-crash.cpp +++ b/clang/test/FixIt/typo-crash.cpp @@ -26,5 +26,5 @@ namespace PR12297 { using namespace A::B; // FIXME: Adding '::PR12297::' is not needed as removing 'A::' is sufficient - T A::global(); // expected-error {{out-of-line definition of 'global' does not match any declaration in namespace 'PR12297::A'; did you mean '::PR12297::global'?}} + T A::global(); // expected-error {{out-of-line declaration of 'global' does not match any declaration in namespace 'PR12297::A'; did you mean '::PR12297::global'?}} } |