[modules] Don't save uninteresting identifiers, and don't consider identifiers
authorRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 19 Jul 2015 21:41:12 +0000 (21:41 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Sun, 19 Jul 2015 21:41:12 +0000 (21:41 +0000)
commit9c254184242e9fa8b6e2c4c11a83544fc5e22994
treeb9a51c053d9d00dcd8a052f7002dbac8932a747c
parentea4ad5a416d8fb9451c81ecee77e0021aba2ec65
[modules] Don't save uninteresting identifiers, and don't consider identifiers
to be interesting just because they are the name of a builtin. Reduces the size
of an empty module by over 80% (~100KB).

llvm-svn: 242650
clang/include/clang/Basic/IdentifierTable.h
clang/include/clang/Serialization/Module.h
clang/lib/Parse/Parser.cpp
clang/lib/Sema/SemaDecl.cpp
clang/lib/Serialization/ASTReader.cpp
clang/lib/Serialization/ASTWriter.cpp
clang/test/Modules/empty.modulemap