summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CacheTokens.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Introduced raw_identifier token kind.Abramo Bagnara2010-12-221-4/+4
| | | | llvm-svn: 122394
* Replace all uses of PathV1::makeAbsolute with PathV2::fs::make_absolute.Michael J. Spencer2010-12-211-2/+3
| | | | llvm-svn: 122340
* Replace all uses of PathV1::isAbsolute with PathV2::is_{absolute,relative}.Michael J. Spencer2010-12-171-3/+2
| | | | llvm-svn: 122087
* Merge System into Support.Michael J. Spencer2010-11-291-1/+1
| | | | llvm-svn: 120297
* change the 'is directory' indicator to be a null-or-notChris Lattner2010-11-231-2/+3
| | | | | | | | | pointer that is passed down through the APIs, and make FileSystemStatCache::get be the one that filters out directory lookups that hit files. This also paves the way to have stat queries be able to return opened files. llvm-svn: 120060
* simplify the cache miss handling code, eliminating CacheMissing.Chris Lattner2010-11-231-8/+3
| | | | llvm-svn: 120038
* rework the stat cache, pulling it out of FileManager.h intoChris Lattner2010-11-231-13/+19
| | | | | | | its own header and giving it some more structure. No functionality change. llvm-svn: 120030
* zap dead code.Chris Lattner2010-09-041-2/+0
| | | | llvm-svn: 113074
* PTH generation: Don't save the leading '#' token in a null directive. This ↵Ted Kremenek2010-07-271-4/+9
| | | | | | unbreaks using PTH with Boost (<rdar://problem/8227989>). llvm-svn: 109484
* push some source location information down through the compiler,Chris Lattner2010-04-201-3/+2
| | | | | | | | into ContentCache::getBuffer. This allows it to produce diagnostics on the broken #include line instead of without a location. llvm-svn: 101939
* Make some typedefs privateKovarththanan Rajaratnam2010-03-181-2/+3
| | | | llvm-svn: 98817
* Rename variable to indicate what it is being used forKovarththanan Rajaratnam2010-03-181-4/+4
| | | | llvm-svn: 98816
* Entering the main source file in the preprocessor can fail if theDouglas Gregor2010-03-171-1/+2
| | | | | | source file has been changed. Handle that failure more gracefully. llvm-svn: 98727
* Use SourceManager's Diagnostic object for all file-reading errors,Douglas Gregor2010-03-161-1/+1
| | | | | | simplifying the SourceManager interfaces somewhat. llvm-svn: 98598
* Add EmitString helper methodKovarththanan Rajaratnam2010-03-141-2/+6
| | | | llvm-svn: 98488
* Unbreak last commit. This should have been part of r98478.Kovarththanan Rajaratnam2010-03-141-3/+3
| | | | llvm-svn: 98480
* Pass file string by referenceKovarththanan Rajaratnam2010-03-141-6/+4
| | | | llvm-svn: 98478
* Use makeAbsolute()Kovarththanan Rajaratnam2010-03-141-7/+2
| | | | llvm-svn: 98472
* Move to anonymous namespaceKovarththanan Rajaratnam2010-03-141-1/+1
| | | | llvm-svn: 98469
* No need to call setIdentifierInfo() after LookUpIdentifierInfo() which ↵Kovarththanan Rajaratnam2010-03-131-3/+2
| | | | | | LookUpIdentifierInfo() will automatically do llvm-svn: 98435
* Don't rely on implicit conversionKovarththanan Rajaratnam2010-03-071-2/+2
| | | | llvm-svn: 97916
* Use clang::io::Emit8Kovarththanan Rajaratnam2010-03-051-3/+1
| | | | llvm-svn: 97810
* Move Emit24 to clang::ioKovarththanan Rajaratnam2010-03-021-6/+1
| | | | llvm-svn: 97569
* Use the llvm coding convention for indentation for switch.Mike Stump2010-01-201-19/+19
| | | | llvm-svn: 93966
* Fix PR5633 by making the preprocessor handle the case where we canChris Lattner2009-11-301-1/+2
| | | | | | | | | | stat a file but where mmaping it fails. In this case, we emit an error like: t.c:1:10: fatal error: error opening file '../../foo.h' instead of "cannot find file". llvm-svn: 90110
* Remove VISIBILITY_HIDDEN from anonymous namespaces in libFrontend.Benjamin Kramer2009-11-281-6/+5
| | | | llvm-svn: 90033
* PR5218: Replace IdentifierInfo::getName with StringRef version, now that clientsDaniel Dunbar2009-10-181-1/+1
| | | | | | are updated. llvm-svn: 84447
* Move clients to use IdentifierInfo::getNameStart() instead of getName()Daniel Dunbar2009-10-181-2/+2
| | | | llvm-svn: 84436
* Use StringExtra's HashString instead of BernsteinHash.Daniel Dunbar2009-10-171-6/+7
| | | | llvm-svn: 84360
* Add support for a chain of stat caches in the FileManager, rather thanDouglas Gregor2009-10-161-3/+4
| | | | | | | | | 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-89/+89
| | | | llvm-svn: 81346
* API changes to match llvm ToT.Chris Lattner2009-08-231-3/+3
| | | | llvm-svn: 79868
* Replace cerr with errs().Benjamin Kramer2009-08-231-3/+2
| | | | llvm-svn: 79854
* Move clang-cc.h to lib/Frontend/Utils.h, and move the associated .cpp Eli Friedman2009-05-191-0/+658
files to lib/Frontend. llvm-svn: 72099
OpenPOWER on IntegriCloud