summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ASTReaderInternals.h
Commit message (Collapse)AuthorAgeFilesLines
* Implement the all_lookups_iterator for PCH as a follow-up to r153970. ThisNick Lewycky2012-04-161-4/+2
| | | | | | | | | | | includes a patch from Matthias Kleine with a regression testcase! Adds a new iterator 'data_iterator' to OnDiskHashTable which doesn't try to reconstruct the external_key from the internal_key, which is useful for traits that don't store enough information to do that mapping in their key. Also deletes the 'item_iterator' from OnDiskHashTable as dead code. llvm-svn: 154784
* Use forward declarations for ASTDeclContextNameLookupTable and add a missing ↵Benjamin Kramer2012-04-151-4/+0
| | | | | | | | delete. It would be nice to use OwningPtr here, but DeclContextInfo is stored in a DenseMap. llvm-svn: 154763
* Only mark an IdentifierInfo as having changed since deserializationDouglas Gregor2012-01-241-0/+3
| | | | | | | | when it actually has changed (and not, e.g., when we've simply attached a deserialized macro definition). Good for ~1.5% reduction in module file size, mostly in the identifier table. llvm-svn: 148808
* Teach DeclContext deserialization to pay attention to endianness, fromDouglas Gregor2012-01-061-1/+3
| | | | | | David Fang and Takumi Nakamura. Fixes many PCH failures on PowerPC. llvm-svn: 147657
* Promote ModuleMap::Module to a namespace-scope class in the BasicDouglas Gregor2011-11-301-9/+9
| | | | | | | | | library, since modules cut across all of the libraries. Rename serialization::Module to serialization::ModuleFile to side-step the annoying naming conflict. Prune a bunch of ModuleMap.h includes that are no longer needed (most files only needed the Module type). llvm-svn: 145538
* remove pedantic ;Chris Lattner2011-09-101-1/+1
| | | | llvm-svn: 139472
* Factor the Module and ModuleManager classes out into separate headersDouglas Gregor2011-08-251-0/+243
and .cpp files, since ASTReader.cpp was getting way too large. No functionality change. llvm-svn: 138582
OpenPOWER on IntegriCloud