Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix typo in comment. | Ted Kremenek | 2010-10-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 116825 | |||||
* | allow I128 suffixes in msextensions mode just like i128 suffixes, patch | Chris Lattner | 2010-10-14 | 1 | -1/+1 | |
| | | | | | | by Martin Vejnar! llvm-svn: 116460 | |||||
* | move logic for computing signed integer overflow when constant folding | Chris Lattner | 2010-10-13 | 1 | -27/+22 | |
| | | | | | | into APInt. llvm-svn: 116453 | |||||
* | Add support for UCNs for character literals | Nico Weber | 2010-10-09 | 1 | -25/+55 | |
| | | | | llvm-svn: 116129 | |||||
* | Implement C++0x scoped enumerations, from Daniel Wallin! (and tweaked a | Douglas Gregor | 2010-10-08 | 1 | -0/+1 | |
| | | | | | | bit by me). llvm-svn: 116122 | |||||
* | Add support for 4-byte UCNs like \U12345678. Warn about UCNs in c90 mode. | Nico Weber | 2010-10-06 | 1 | -9/+30 | |
| | | | | llvm-svn: 115743 | |||||
* | Implement the C++0x "trailing return type" feature, e.g., | Douglas Gregor | 2010-10-01 | 1 | -0/+1 | |
| | | | | | | | | | | auto f(int) -> int from Daniel Wallin! (With a few minor bug fixes from me). llvm-svn: 115322 | |||||
* | In MeasureTokenLength, the FileLoc supplied to the lexer must point to the ↵ | Sebastian Redl | 2010-09-30 | 1 | -1/+2 | |
| | | | | | | start of the buffer, or we risk overflow. llvm-svn: 115117 | |||||
* | Fix coding standard mistake from my last commit. | Michael J. Spencer | 2010-09-27 | 1 | -1/+1 | |
| | | | | | | That, and keep aKor happy :P. llvm-svn: 114816 | |||||
* | Lexer: Implement GCC's version of pragma message. | Michael J. Spencer | 2010-09-27 | 1 | -15/+26 | |
| | | | | llvm-svn: 114814 | |||||
* | Allow the use of C++0x deleted functions as an extension in C++98. | Anders Carlsson | 2010-09-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 114762 | |||||
* | Revert "CMake: Update to use standard CMake dependency tracking facilities ↵ | Michael J. Spencer | 2010-09-13 | 1 | -7/+3 | |
| | | | | | | | | | | | | | instead" This reverts commit r113631 Conflicts: CMakeLists.txt lib/CodeGen/CMakeLists.txt llvm-svn: 113817 | |||||
* | CMake: Update to use standard CMake dependency tracking facilities instead | Michael J. Spencer | 2010-09-10 | 1 | -3/+7 | |
| | | | | | | of whatever we were using before... llvm-svn: 113631 | |||||
* | When we parse a pragma, keep track of how that pragma was originally | Douglas Gregor | 2010-09-09 | 2 | -25/+46 | |
| | | | | | | | | spelled (#pragma, _Pragma, __pragma). In -E mode, use that information to add appropriate newlines when translating _Pragma and __pragma into #pragma, like GCC does. Fixes <rdar://problem/8412013>. llvm-svn: 113553 | |||||
* | Clean up some of the CMake dependencies | Douglas Gregor | 2010-09-08 | 1 | -0/+2 | |
| | | | | llvm-svn: 113416 | |||||
* | fix 7320: we can't delete a trailing space if it doesn't exist. | Chris Lattner | 2010-09-05 | 1 | -1/+3 | |
| | | | | llvm-svn: 113125 | |||||
* | Use getSpelling to get original text of the | Fariborz Jahanian | 2010-09-03 | 1 | -3/+1 | |
| | | | | | | c++ operator token. (radar 8328250). llvm-svn: 112977 | |||||
* | Patch to allow alternative representation of c++ | Fariborz Jahanian | 2010-09-03 | 1 | -1/+3 | |
| | | | | | | | operators (and, or, etc.) to be used as selectors to match g++'s behavior. llvm-svn: 112935 | |||||
* | Prevent warning when built with assert off. | Fariborz Jahanian | 2010-08-31 | 1 | -0/+1 | |
| | | | | llvm-svn: 112680 | |||||
* | Some support for unicode string constants | Fariborz Jahanian | 2010-08-31 | 1 | -3/+18 | |
| | | | | | | in wide strings. radar 8360841. llvm-svn: 112672 | |||||
* | Implement __has_feature(cxx_inline_namespaces) | Sebastian Redl | 2010-08-31 | 1 | -0/+1 | |
| | | | | llvm-svn: 112671 | |||||
* | improve isHexaLiteral to work with escaped newlines and trigraphs, | Chris Lattner | 2010-08-31 | 1 | -7/+8 | |
| | | | | | | patch by Francois Pichet! llvm-svn: 112602 | |||||
* | silence a warning | Chris Lattner | 2010-08-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 112549 | |||||
* | Revert my user-defined literal commits - r1124{58,60,67} pending | Alexis Hunt | 2010-08-30 | 3 | -65/+20 | |
| | | | | | | some issues being sorted out. llvm-svn: 112493 | |||||
* | add a fixme. | Chris Lattner | 2010-08-30 | 1 | -1/+5 | |
| | | | | llvm-svn: 112491 | |||||
* | use 'features' instead of 'PP->getLangOptions'. | Chris Lattner | 2010-08-30 | 1 | -8/+8 | |
| | | | | llvm-svn: 112490 | |||||
* | Now that GCC will have #pragma push/pop (in GCC 4.6), allow the | Douglas Gregor | 2010-08-30 | 1 | -31/+14 | |
| | | | | | | | #pragma without requiring it to be in the "clang" namespace, from Louis Gerbarg! llvm-svn: 112484 | |||||
* | In Microsoft compatibility mode, don't parse the exponent as part of | Douglas Gregor | 2010-08-30 | 1 | -1/+10 | |
| | | | | | | | the pp-number in a hexadecimal floating point literal, from Francois Pichet! Fixes PR7968. llvm-svn: 112481 | |||||
* | Implement C++0x user-defined string literals. | Alexis Hunt | 2010-08-29 | 3 | -20/+65 | |
| | | | | | | | | | | The extra data stored on user-defined literal Tokens is stored in extra allocated memory, which is managed by the PreprocessorLexer because there isn't a better place to put it that makes sure it gets deallocated, but only after it's used up. My testing has shown no significant slowdown as a result, but independent testing would be appreciated. llvm-svn: 112458 | |||||
* | Complain if a __pragma isn't terminated. | John McCall | 2010-08-29 | 1 | -0/+5 | |
| | | | | llvm-svn: 112392 | |||||
* | Add support for Microsoft's __pragma in the preprocessor. | John McCall | 2010-08-28 | 2 | -5/+61 | |
| | | | | | | Patch by Francois Pichet! llvm-svn: 112391 | |||||
* | Tweak wording in an assertion, from dawn@burble.org. | Douglas Gregor | 2010-08-26 | 1 | -1/+1 | |
| | | | | llvm-svn: 112182 | |||||
* | Introduce a preprocessor code-completion hook for contexts where we | Douglas Gregor | 2010-08-25 | 2 | -6/+29 | |
| | | | | | | | expect "natural" language and should not provide any completions, e.g., comments, string literals, #error. llvm-svn: 112054 | |||||
* | Implement code completion for preprocessor expressions and in macro | Douglas Gregor | 2010-08-24 | 2 | -0/+14 | |
| | | | | | | arguments. llvm-svn: 111976 | |||||
* | Implement preprocessor code completion where a macro name is expected, | Douglas Gregor | 2010-08-24 | 2 | -1/+15 | |
| | | | | | | | e.g., after #ifdef/#ifndef or #undef, or inside a defined <macroname> expression in a preprocessor conditional. llvm-svn: 111954 | |||||
* | Introduce basic code-completion support for preprocessor directives, | Douglas Gregor | 2010-08-24 | 3 | -22/+36 | |
| | | | | | | e.g., after a "#" we'll suggest #if, #ifdef, etc. llvm-svn: 111943 | |||||
* | Detabify. | Eli Friedman | 2010-08-22 | 1 | -1/+1 | |
| | | | | llvm-svn: 111768 | |||||
* | fix PR7943, a corner case with the GNU __VA_ARGS__ comma | Chris Lattner | 2010-08-21 | 1 | -0/+7 | |
| | | | | | | swallowing extension. llvm-svn: 111701 | |||||
* | More PCH -> AST renaming. | Sebastian Redl | 2010-08-18 | 1 | -2/+2 | |
| | | | | llvm-svn: 111472 | |||||
* | CrashRecovery: Add #pragma clang __debug handle_crash, useful when debugging | Daniel Dunbar | 2010-08-18 | 1 | -0/+5 | |
| | | | | | | | CrashRecovery since it avoids sending a signal which may be intercepted by the debugger. llvm-svn: 111449 | |||||
* | no need to pass bumppointer allocator into macroinfo::destroy | Chris Lattner | 2010-08-18 | 2 | -4/+4 | |
| | | | | llvm-svn: 111364 | |||||
* | Lex: Add #pragma clang __debug {llvm_fatal_error, llvm_unreachable}, for testing | Daniel Dunbar | 2010-08-17 | 1 | -7/+13 | |
| | | | | | | those crash paths. llvm-svn: 111311 | |||||
* | Implement #pragma push_macro, patch by Francois Pichet! | Chris Lattner | 2010-08-17 | 3 | -4/+158 | |
| | | | | llvm-svn: 111234 | |||||
* | Don't emit end-of-file diagnostics like "unterminated conditional" or | Douglas Gregor | 2010-08-12 | 3 | -8/+13 | |
| | | | | | | "unterminated string" when we're performing code completion. llvm-svn: 110933 | |||||
* | Random temporary string cleanup. | Benjamin Kramer | 2010-08-11 | 4 | -7/+7 | |
| | | | | llvm-svn: 110807 | |||||
* | Use precompiled preambles for in-process code completion. | Douglas Gregor | 2010-08-09 | 1 | -2/+16 | |
| | | | | llvm-svn: 110596 | |||||
* | Revert r110440, the fix for PR4897. Chris claims to have a better way. | Douglas Gregor | 2010-08-08 | 2 | -50/+28 | |
| | | | | llvm-svn: 110544 | |||||
* | Push location through the MacroUndefined PPCallback and use it to print ↵ | Benjamin Kramer | 2010-08-07 | 2 | -2/+4 | |
| | | | | | | #undefs in -dD mode. (PR7818) llvm-svn: 110523 | |||||
* | Fix the #include search path when reading from stdin, from Jon Simons! | Douglas Gregor | 2010-08-06 | 2 | -28/+50 | |
| | | | | | | Fixes PR4897. llvm-svn: 110440 | |||||
* | After a lengthy design discussion, add support for "ownership attributes" ↵ | Ted Kremenek | 2010-07-31 | 1 | -0/+3 | |
| | | | | | | for malloc/free checking. Patch by Andrew McGregor! llvm-svn: 109939 |