diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-03-23 03:25:59 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-03-23 03:25:59 +0000 |
commit | 9e2341d0930b735b4ec91c389c736db3eda6ca4c (patch) | |
tree | 719addc46e4686382124735d4903d4aed289809d /clang/test/Modules/odr.cpp | |
parent | 1e1b0f732a5799cfcc92267ca43512b9dedeec8a (diff) | |
download | bcm5719-llvm-9e2341d0930b735b4ec91c389c736db3eda6ca4c.tar.gz bcm5719-llvm-9e2341d0930b735b4ec91c389c736db3eda6ca4c.zip |
[modules] Remove redundant import of lexical decls when building a lookup table
for a DeclContext, and fix propagation of exception specifications along
redeclaration chains.
This reverts r232905, r232907, and r232907, which reverted r232793, r232853,
and r232853.
One additional change is present here to resolve issues with LLDB: distinguish
between whether lexical decls missing from the lookup table are local or are
provided by the external AST source, and still look in the external source if
that's where they came from.
llvm-svn: 232928
Diffstat (limited to 'clang/test/Modules/odr.cpp')
-rw-r--r-- | clang/test/Modules/odr.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/test/Modules/odr.cpp b/clang/test/Modules/odr.cpp index 120ca20e0a8..4ac257cd03a 100644 --- a/clang/test/Modules/odr.cpp +++ b/clang/test/Modules/odr.cpp @@ -15,9 +15,9 @@ bool b = F<int>{0} == F<int>{1}; int x = f() + g(); // expected-note@a.h:5 {{definition has no member 'e2'}} -// expected-note@a.h:3 {{declaration of 'f' does not match}} -// expected-note@a.h:1 {{definition has no member 'm'}} +// expected-note@b.h:3 {{declaration of 'f' does not match}} +// expected-note@b.h:1 {{definition has no member 'n'}} // expected-error@b.h:5 {{'E::e2' from module 'b' is not present in definition of 'E' in module 'a'}} -// expected-error@b.h:3 {{'Y::f' from module 'b' is not present in definition of 'Y' in module 'a'}} -// expected-error@b.h:2 {{'Y::m' from module 'b' is not present in definition of 'Y' in module 'a'}} +// expected-error@a.h:3 {{'Y::f' from module 'a' is not present in definition of 'Y' in module 'b'}} +// expected-error@a.h:2 {{'Y::n' from module 'a' is not present in definition of 'Y' in module 'b'}} |