aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Serialization/ModuleManager.cpp
AgeCommit message (Collapse)AuthorFilesLines
2012-11-30Actually keep track of the source locations at which particular moduleDouglas Gregor1-4/+8
files are loaded. llvm-svn: 169027
2012-11-07When loading a module fails because it is out of date, rebuild thatDouglas Gregor1-0/+39
module in place. <rdar://problem/10138913> llvm-svn: 167539
2012-10-03Set the file entry for a Module* that was created during deserializationArgyrios Kyrtzidis1-1/+2
of a module file. llvm-svn: 165086
2012-01-18Optimize unqualified/global name lookup in modules by introducing aDouglas Gregor1-2/+3
generational scheme for identifiers that avoids searching the hash tables of a given module more than once for a given identifier. Previously, loading any new module invalidated all of the previous lookup results for all identifiers, causing us to perform the lookups repeatedly. llvm-svn: 148412
2011-11-30Promote ModuleMap::Module to a namespace-scope class in the BasicDouglas Gregor1-25/+25
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
2011-10-11Add support for viewing the module graph via Graphviz, for debuggingDouglas Gregor1-0/+49
purposes. llvm-svn: 141697
2011-08-25Factor the Module and ModuleManager classes out into separate headersDouglas Gregor1-0/+204
and .cpp files, since ASTReader.cpp was getting way too large. No functionality change. llvm-svn: 138582