summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/GeneratePCH.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Reintroduce the serialization library, with fixed dependencies.Sebastian Redl2010-08-171-64/+0
| | | | llvm-svn: 111279
* Revert Sebastian's build-breaking patch.Douglas Gregor2010-08-171-0/+64
| | | | llvm-svn: 111265
* Create a new Serialization module that contains all the PCH code, and will ↵Sebastian Redl2010-08-171-64/+0
| | | | | | contain all the module code in the future. Update the Makefiles, CMake projects and the Xcode project. I hope I did everything right for Xcode. No functionality change. llvm-svn: 111258
* Reshuffle the PCH generator action and consumer, so that we can re-useDouglas Gregor2010-08-031-27/+0
| | | | | | it while generating precompiled preambles. No functionality change. llvm-svn: 110108
* Make macro weirdness in chained PCH work. This required changing the way ↵Sebastian Redl2010-07-301-7/+12
| | | | | | PCHReader and PCHWriter are initialized to correctly pick up all initializer. On the upside, this means that there is far less repetition in the dependent PCH now. llvm-svn: 109823
* Add a little more data to chained PCHs. WIPSebastian Redl2010-07-161-1/+4
| | | | llvm-svn: 108528
* Add a callback interface that allows interested parties to get notified ↵Sebastian Redl2010-07-141-15/+13
| | | | | | whenever PCHReader deserializes a type or decl (and possibly other things in the future). Have PCHWriter implement these callbacks as noops and register to receive them if we're chaining PCHs. This will allow PCHWriter to track the IDs of these things, which it needs to write the dependent files. WIP llvm-svn: 108383
* Some preparatory work for chained PCH. No functionality change.Sebastian Redl2010-07-081-3/+8
| | | | llvm-svn: 107915
* Remove VISIBILITY_HIDDEN from anonymous namespaces in libFrontend.Benjamin Kramer2009-11-281-5/+2
| | | | llvm-svn: 90033
* Add support for a chain of stat caches in the FileManager, rather thanDouglas Gregor2009-10-161-1/+1
| | | | | | | | | only supporting a single stat cache. The immediate benefit of this change is that we can now generate a PCH/AST file when including another PCH file; in the future, the chain of stat caches will likely be useful with multiple levels of PCH files. llvm-svn: 84263
* Remove tabs, and whitespace cleanups.Mike Stump2009-09-091-4/+4
| | | | llvm-svn: 81346
* Replace cerr with errs().Benjamin Kramer2009-08-231-1/+0
| | | | llvm-svn: 79854
* Introduce the notion of "Relocatable" precompiled headers, which are builtDouglas Gregor2009-07-071-8/+14
| | | | | | | | | | | | with a particular system root directory and can be used with a different system root directory when the headers it depends on have been installed. Relocatable precompiled headers rewrite the file names of the headers used when generating the PCH file into the corresponding file names of the headers available when using the PCH file. Addresses <rdar://problem/7001604>. llvm-svn: 74885
* Move ASTConsumers.h to include/clang/Frontend, and move the associated Eli Friedman2009-05-181-0/+78
.cpp files to lib/Frontend. (As proposed on cfe-dev.) llvm-svn: 72060
OpenPOWER on IntegriCloud