]> granicus.if.org Git - clang/commit
[modules] In C++, stop serializing and deserializing a list of declarations in
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 21 Jul 2015 23:54:07 +0000 (23:54 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 21 Jul 2015 23:54:07 +0000 (23:54 +0000)
commita4f29fcf3bf9ead1d44953e0f8be59ba26fc8d1f
tree4ad794414ef5bf40eefda5980ccd7993188426a0
parent1c737b3071785a83d581de600b7356518faa9598
[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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@242855 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/AST/DeclObjC.h
include/clang/Sema/Lookup.h
lib/Sema/SemaDecl.cpp
lib/Sema/SemaLookup.cpp
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTWriter.cpp
test/CXX/class.access/class.friend/p1.cpp
test/CXX/class.access/class.friend/p11.cpp
test/Modules/linkage-merge.cpp