Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Introduced raw_identifier token kind. | Abramo Bagnara | 2010-12-22 | 1 | -4/+4 |
| | | | | llvm-svn: 122394 | ||||
* | Replace all uses of PathV1::makeAbsolute with PathV2::fs::make_absolute. | Michael J. Spencer | 2010-12-21 | 1 | -2/+3 |
| | | | | llvm-svn: 122340 | ||||
* | Replace all uses of PathV1::isAbsolute with PathV2::is_{absolute,relative}. | Michael J. Spencer | 2010-12-17 | 1 | -3/+2 |
| | | | | llvm-svn: 122087 | ||||
* | Merge System into Support. | Michael J. Spencer | 2010-11-29 | 1 | -1/+1 |
| | | | | llvm-svn: 120297 | ||||
* | change the 'is directory' indicator to be a null-or-not | Chris Lattner | 2010-11-23 | 1 | -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 Lattner | 2010-11-23 | 1 | -8/+3 |
| | | | | llvm-svn: 120038 | ||||
* | rework the stat cache, pulling it out of FileManager.h into | Chris Lattner | 2010-11-23 | 1 | -13/+19 |
| | | | | | | | its own header and giving it some more structure. No functionality change. llvm-svn: 120030 | ||||
* | zap dead code. | Chris Lattner | 2010-09-04 | 1 | -2/+0 |
| | | | | llvm-svn: 113074 | ||||
* | PTH generation: Don't save the leading '#' token in a null directive. This ↵ | Ted Kremenek | 2010-07-27 | 1 | -4/+9 |
| | | | | | | unbreaks using PTH with Boost (<rdar://problem/8227989>). llvm-svn: 109484 | ||||
* | push some source location information down through the compiler, | Chris Lattner | 2010-04-20 | 1 | -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 private | Kovarththanan Rajaratnam | 2010-03-18 | 1 | -2/+3 |
| | | | | llvm-svn: 98817 | ||||
* | Rename variable to indicate what it is being used for | Kovarththanan Rajaratnam | 2010-03-18 | 1 | -4/+4 |
| | | | | llvm-svn: 98816 | ||||
* | Entering the main source file in the preprocessor can fail if the | Douglas Gregor | 2010-03-17 | 1 | -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 Gregor | 2010-03-16 | 1 | -1/+1 |
| | | | | | | simplifying the SourceManager interfaces somewhat. llvm-svn: 98598 | ||||
* | Add EmitString helper method | Kovarththanan Rajaratnam | 2010-03-14 | 1 | -2/+6 |
| | | | | llvm-svn: 98488 | ||||
* | Unbreak last commit. This should have been part of r98478. | Kovarththanan Rajaratnam | 2010-03-14 | 1 | -3/+3 |
| | | | | llvm-svn: 98480 | ||||
* | Pass file string by reference | Kovarththanan Rajaratnam | 2010-03-14 | 1 | -6/+4 |
| | | | | llvm-svn: 98478 | ||||
* | Use makeAbsolute() | Kovarththanan Rajaratnam | 2010-03-14 | 1 | -7/+2 |
| | | | | llvm-svn: 98472 | ||||
* | Move to anonymous namespace | Kovarththanan Rajaratnam | 2010-03-14 | 1 | -1/+1 |
| | | | | llvm-svn: 98469 | ||||
* | No need to call setIdentifierInfo() after LookUpIdentifierInfo() which ↵ | Kovarththanan Rajaratnam | 2010-03-13 | 1 | -3/+2 |
| | | | | | | LookUpIdentifierInfo() will automatically do llvm-svn: 98435 | ||||
* | Don't rely on implicit conversion | Kovarththanan Rajaratnam | 2010-03-07 | 1 | -2/+2 |
| | | | | llvm-svn: 97916 | ||||
* | Use clang::io::Emit8 | Kovarththanan Rajaratnam | 2010-03-05 | 1 | -3/+1 |
| | | | | llvm-svn: 97810 | ||||
* | Move Emit24 to clang::io | Kovarththanan Rajaratnam | 2010-03-02 | 1 | -6/+1 |
| | | | | llvm-svn: 97569 | ||||
* | Use the llvm coding convention for indentation for switch. | Mike Stump | 2010-01-20 | 1 | -19/+19 |
| | | | | llvm-svn: 93966 | ||||
* | Fix PR5633 by making the preprocessor handle the case where we can | Chris Lattner | 2009-11-30 | 1 | -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 Kramer | 2009-11-28 | 1 | -6/+5 |
| | | | | llvm-svn: 90033 | ||||
* | PR5218: Replace IdentifierInfo::getName with StringRef version, now that clients | Daniel Dunbar | 2009-10-18 | 1 | -1/+1 |
| | | | | | | are updated. llvm-svn: 84447 | ||||
* | Move clients to use IdentifierInfo::getNameStart() instead of getName() | Daniel Dunbar | 2009-10-18 | 1 | -2/+2 |
| | | | | llvm-svn: 84436 | ||||
* | Use StringExtra's HashString instead of BernsteinHash. | Daniel Dunbar | 2009-10-17 | 1 | -6/+7 |
| | | | | llvm-svn: 84360 | ||||
* | Add support for a chain of stat caches in the FileManager, rather than | Douglas Gregor | 2009-10-16 | 1 | -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 Stump | 2009-09-09 | 1 | -89/+89 |
| | | | | llvm-svn: 81346 | ||||
* | API changes to match llvm ToT. | Chris Lattner | 2009-08-23 | 1 | -3/+3 |
| | | | | llvm-svn: 79868 | ||||
* | Replace cerr with errs(). | Benjamin Kramer | 2009-08-23 | 1 | -3/+2 |
| | | | | llvm-svn: 79854 | ||||
* | Move clang-cc.h to lib/Frontend/Utils.h, and move the associated .cpp | Eli Friedman | 2009-05-19 | 1 | -0/+658 |
files to lib/Frontend. llvm-svn: 72099 |