Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Teach the preprocessor to hold onto the preprocessor options. | Douglas Gregor | 2012-10-24 | 1 | -2/+2 | |
| | | | | llvm-svn: 166599 | |||||
* | Update unit tests for HeaderSearch change | Douglas Gregor | 2012-10-24 | 1 | -1/+3 | |
| | | | | llvm-svn: 166584 | |||||
* | More unit-test fixes | Douglas Gregor | 2012-10-23 | 1 | -0/+1 | |
| | | | | llvm-svn: 166511 | |||||
* | Fixup unit tests for DiagnosticOptions change | Douglas Gregor | 2012-10-23 | 1 | -1/+1 | |
| | | | | llvm-svn: 166509 | |||||
* | Fix the handling of target options in our unit tests. | Douglas Gregor | 2012-10-17 | 1 | -4/+6 | |
| | | | | llvm-svn: 166079 | |||||
* | get rid of an unsued variable warning. | Fariborz Jahanian | 2012-03-06 | 1 | -1/+1 | |
| | | | | llvm-svn: 152146 | |||||
* | Add new code migrator support for migrating existing Objective-C code to use | Ted Kremenek | 2012-03-06 | 1 | -2/+2 | |
| | | | | | | | | | | | the new Objective-C NSArray/NSDictionary/NSNumber literal syntax. This introduces a new library, libEdit, which provides a new way to support migration of code that improves on the original ARC migrator. We now believe that most of its functionality can be refactored into the existing libraries, and thus this new library may shortly disappear. llvm-svn: 152141 | |||||
* | Basic: import IntrusiveRefCntPtr<> into clang namespace | Dylan Noblesmith | 2012-02-20 | 1 | -2/+2 | |
| | | | | | | | The class name is long enough without the llvm:: added. Also bring in RefCountedBase and RefCountedBaseVPTR. llvm-svn: 150958 | |||||
* | Change Lexer::makeFileCharRange() to have it accept a CharSourceRange | Argyrios Kyrtzidis | 2012-02-03 | 1 | -11/+13 | |
| | | | | | | | instead of a SourceRange, and handle the case where the range is a char (not token) range. llvm-svn: 149677 | |||||
* | Thread a TargetInfo through to the module map; we'll need it for | Douglas Gregor | 2012-01-30 | 1 | -1/+1 | |
| | | | | | | target-specific module requirements. llvm-svn: 149224 | |||||
* | Improve Lexer::getImmediateMacroName to take into account inner macros | Argyrios Kyrtzidis | 2012-01-23 | 1 | -2/+21 | |
| | | | | | | | | | of macro arguments. For "MAC1( MAC2(foo) )" and location of 'foo' token it would return "MAC1" instead of "MAC2". llvm-svn: 148704 | |||||
* | Enhance Lexer::makeFileCharRange to check for ranges inside a macro argument | Argyrios Kyrtzidis | 2012-01-20 | 1 | -2/+34 | |
| | | | | | | | expansion, in which case it returns a file range in the location where the argument was spelled. llvm-svn: 148551 | |||||
* | Silence set-but-unused warning. | Benjamin Kramer | 2012-01-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 148496 | |||||
* | Introduce Lexer::getSourceText() that returns a string for the source | Argyrios Kyrtzidis | 2012-01-19 | 1 | -0/+5 | |
| | | | | | | that the given source range encompasses. llvm-svn: 148481 | |||||
* | Introduce Lexer::makeFileCharRange() that accepts a token source range | Argyrios Kyrtzidis | 2012-01-19 | 1 | -3/+19 | |
| | | | | | | and returns a character range with file locations. llvm-svn: 148480 | |||||
* | For Lexer's isAt[Start/End]OfMacroExpansion add an out parameter for the macro | Argyrios Kyrtzidis | 2012-01-19 | 1 | -2/+5 | |
| | | | | | | | | | start/end location. It is commonly needed after calling the function; with this way we avoid recalculating it. llvm-svn: 148479 | |||||
* | Add unit testing for Lexer. | Argyrios Kyrtzidis | 2012-01-19 | 1 | -0/+100 | |
llvm-svn: 148478 |