Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add missing cctype includes. | Joerg Sonnenberger | 2012-08-10 | 1 | -0/+1 |
| | | | | llvm-svn: 161660 | ||||
* | Unify naming of LangOptions variable/get function across the Clang stack ↵ | David Blaikie | 2012-03-11 | 1 | -7/+7 |
| | | | | | | | | | | (Lex to AST). The member variable is always "LangOpts" and the member function is always "getLangOpts". Reviewed by Chris Lattner llvm-svn: 152536 | ||||
* | User-defined literals: reject string and character UDLs in all places where the | Richard Smith | 2012-03-06 | 1 | -1/+38 |
| | | | | | | | | | | grammar requires a string-literal and not a user-defined-string-literal. The two constructs are still represented by the same TokenKind, in order to prevent a combinatorial explosion of different kinds of token. A flag on Token tracks whether a ud-suffix is present, in order to prevent clients from needing to look at the token's spelling. llvm-svn: 152098 | ||||
* | Remove unreachable code in Clang. (replace with llvm_unreachable where ↵ | David Blaikie | 2012-01-17 | 1 | -2/+0 |
| | | | | | | appropriate or when GCC requires it) llvm-svn: 148292 | ||||
* | Rename SourceLocation::getFileLocWithOffset -> getLocWithOffset. | Argyrios Kyrtzidis | 2011-09-19 | 1 | -1/+1 |
| | | | | | | It already works (and is useful with) macro locs as well. llvm-svn: 140057 | ||||
* | Raw string followup. Pass a couple StringRefs by value. | Craig Topper | 2011-08-11 | 1 | -1/+1 |
| | | | | llvm-svn: 137301 | ||||
* | Add support for C++0x raw string literals. | Craig Topper | 2011-08-11 | 1 | -17/+31 |
| | | | | llvm-svn: 137298 | ||||
* | Add support for C++0x unicode string and character literals, from Craig Topper! | Douglas Gregor | 2011-07-27 | 1 | -36/+28 |
| | | | | llvm-svn: 136210 | ||||
* | Introduced raw_identifier token kind. | Abramo Bagnara | 2010-12-22 | 1 | -1/+9 |
| | | | | llvm-svn: 122394 | ||||
* | make the token paste avoidance logic turn "..." into ".. ." instead of ". . ." | Chris Lattner | 2010-04-14 | 1 | -2/+4 |
| | | | | | | when avoiding paste. Patch by David Peixotto! llvm-svn: 101218 | ||||
* | fix a bug in paste avoidance which would cause us to accidentally | Chris Lattner | 2010-03-26 | 1 | -1/+1 |
| | | | | | | form a >>=. Patch by Abramo Bagnara, testcase by me. llvm-svn: 99624 | ||||
* | Move clients to use IdentifierInfo::getNameStart() instead of getName() | Daniel Dunbar | 2009-10-18 | 1 | -1/+1 |
| | | | | llvm-svn: 84436 | ||||
* | Remove tabs, and whitespace cleanups. | Mike Stump | 2009-09-09 | 1 | -21/+21 |
| | | | | llvm-svn: 81346 | ||||
* | PR4395: Don't detect token concatenation in C mode for | Eli Friedman | 2009-06-15 | 1 | -3/+5 |
| | | | | | | C++-specific tokens. llvm-svn: 73408 | ||||
* | Don't vary token concatenation based on the language options; this | Eli Friedman | 2009-05-27 | 1 | -6/+3 |
| | | | | | | behavior is more likely to be confusing than useful. llvm-svn: 72499 | ||||
* | apply Eli's patch to fix PR4008, with a testcase. Thanks Eli! | Chris Lattner | 2009-04-21 | 1 | -0/+8 |
| | | | | llvm-svn: 69750 | ||||
* | Fix -E mismatch; an identifier followed by a numeric constant does not | Daniel Dunbar | 2009-03-18 | 1 | -22/+31 |
| | | | | | | | | require a space (to avoid concatenation) if the numeric constant had a leading period. - PR3819. llvm-svn: 67163 | ||||
* | factor token concatenation avoidance logic out of | Chris Lattner | 2009-02-13 | 1 | -0/+205 |
PrintPreprocessedOutput into its own file. No functionality change. llvm-svn: 64418 |