diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-07-21 23:54:07 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-07-21 23:54:07 +0000 |
commit | a534a31c5e73163eaa61560cd4e0c4c19bcbcfb1 (patch) | |
tree | 7e27c06c168865d3d0d300b93a015c414ba38bcc /clang/test/Modules/linkage-merge.cpp | |
parent | 159e5ed9dc8f8107cbd32521e4e2436254f2b07e (diff) | |
download | bcm5719-llvm-a534a31c5e73163eaa61560cd4e0c4c19bcbcfb1.tar.gz bcm5719-llvm-a534a31c5e73163eaa61560cd4e0c4c19bcbcfb1.zip |
[modules] In C++, stop serializing and deserializing a list of declarations in
the identifier table. This is redundant, since the TU-scope lookups are also
serialized as part of the TU DeclContext, and wasteful in a number of ways. We
still emit the decls for PCH / preamble builds, since for those we want
identical results, not merely semantically equivalent ones.
llvm-svn: 242855
Diffstat (limited to 'clang/test/Modules/linkage-merge.cpp')
-rw-r--r-- | clang/test/Modules/linkage-merge.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/test/Modules/linkage-merge.cpp b/clang/test/Modules/linkage-merge.cpp index 005206afadb..dc2ad759127 100644 --- a/clang/test/Modules/linkage-merge.cpp +++ b/clang/test/Modules/linkage-merge.cpp @@ -7,9 +7,5 @@ static int f(int); int f(int); static void g(int); -// FIXME: Whether we notice the problem here depends on the order in which we -// happen to find lookup results for 'g'; LookupResult::resolveKind needs to -// be taught to prefer a visible result over a non-visible one. -// // expected-error@9 {{functions that differ only in their return type cannot be overloaded}} // expected-note@Inputs/linkage-merge-foo.h:2 {{previous declaration is here}} |