]> granicus.if.org Git - clang/commit
[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)
commit1b8c2ec2809c5e38afc4bcbe547b62d78ff54136
treef6371768701b4c993d7703837e4f9d0afede24c1
parent8a5410f8d7f82978cfc18c639615b3483c284750
[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).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@242650 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/IdentifierTable.h
include/clang/Serialization/Module.h
lib/Parse/Parser.cpp
lib/Sema/SemaDecl.cpp
lib/Serialization/ASTReader.cpp
lib/Serialization/ASTWriter.cpp
test/Modules/empty.modulemap