Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Wherein the TargetInfo argument to Preprocessor is made 'const' and propogated. | Daniel Dunbar | 2009-11-13 | 1 | -1/+1 | |
| | | | | llvm-svn: 87087 | |||||
* | Re-arranged some internal functions for coming __has_include changes. | John Thompson | 2009-10-30 | 1 | -55/+63 | |
| | | | | llvm-svn: 85589 | |||||
* | Remove tabs, and whitespace cleanups. | Mike Stump | 2009-09-09 | 1 | -48/+48 | |
| | | | | llvm-svn: 81346 | |||||
* | Basic support for C++0x unicode types. Support for literals will follow in ↵ | Alisdair Meredith | 2009-07-14 | 1 | -1/+3 | |
| | | | | | | an incremental patch llvm-svn: 75622 | |||||
* | Move CharIsSigned from TargetInfo to LangOptions. | Eli Friedman | 2009-06-05 | 1 | -1/+1 | |
| | | | | llvm-svn: 72928 | |||||
* | PR4283: Don't truncate multibyte character constants in the | Eli Friedman | 2009-06-01 | 1 | -2/+6 | |
| | | | | | | preprocessor. llvm-svn: 72686 | |||||
* | PR3942: Don't warn on unsigned overflow in preprocessor expressions. | Eli Friedman | 2009-05-16 | 1 | -4/+4 | |
| | | | | llvm-svn: 71960 | |||||
* | simplification and speedup | Chris Lattner | 2009-04-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 69963 | |||||
* | move library-specific diagnostic headers into library private dirs. Reduce | Chris Lattner | 2009-01-29 | 1 | -1/+1 | |
| | | | | | | redundant #includes. Patch by Anders Johnsen! llvm-svn: 63271 | |||||
* | Split the single monolithic DiagnosticKinds.def file into one | Chris Lattner | 2009-01-27 | 1 | -1/+1 | |
| | | | | | | | | | .def file for each library. This means that adding a diagnostic to sema doesn't require all the other libraries to be rebuilt. Patch by Anders Johnsen! llvm-svn: 63111 | |||||
* | fix rdar://6505352 - Bogus warning with -WUndef, a case | Chris Lattner | 2009-01-18 | 1 | -1/+2 | |
| | | | | | | Anders noticed. llvm-svn: 62472 | |||||
* | make the 'to match this' diagnostic a note. | Chris Lattner | 2008-11-23 | 1 | -3/+3 | |
| | | | | llvm-svn: 59921 | |||||
* | don't turn identifierinfo's into strings in diagnostics. | Chris Lattner | 2008-11-19 | 1 | -1/+1 | |
| | | | | llvm-svn: 59602 | |||||
* | Remove the last of the old-style Preprocessor::Diag methods. | Chris Lattner | 2008-11-18 | 1 | -29/+30 | |
| | | | | llvm-svn: 59554 | |||||
* | remove one more Preprocessor::Diag method. | Chris Lattner | 2008-11-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 59512 | |||||
* | various updates to match r54873 on mainline. | Chris Lattner | 2008-08-17 | 1 | -2/+4 | |
| | | | | llvm-svn: 54874 | |||||
* | More #include cleaning | Daniel Dunbar | 2008-08-11 | 1 | -2/+0 | |
| | | | | | | | | | | | - Kill unnecessary #includes in .cpp files. This is an automatic sweep so some things removed are actually used, but happen to be included by a previous header. I tried to get rid of the obvious examples and this was the easiest way to trim the #includes in one fell swoop. - We now return to regularly scheduled development. llvm-svn: 54632 | |||||
* | Fix PR2252: don't warn on negating an unsigned value ever, and don't emit | Chris Lattner | 2008-07-03 | 1 | -6/+4 | |
| | | | | | | 'integer constant is so large that it is unsigned' warning for hex literals. llvm-svn: 53070 | |||||
* | Fix typo, improve comment. | Chris Lattner | 2008-05-05 | 1 | -5/+6 | |
| | | | | llvm-svn: 50666 | |||||
* | Fix a few more bugs in preprocessor expressions w.r.t. ?:. Now I | Chris Lattner | 2008-05-05 | 1 | -12/+24 | |
| | | | | | | think it is really right. :) This fixes PR2284. llvm-svn: 50665 | |||||
* | Neil pointed out that clang doesn't generate ranges from diagnostics | Chris Lattner | 2008-05-05 | 1 | -120/+172 | |
| | | | | | | | | | | | | | | | | | | | | | | | | related to pp-expressions. Doing so is pretty simple and this patch implements it, yielding nice diagnostics like: t.c:2:7: error: division by zero in preprocessor expression #if 1 / (0 + 0) ~ ^ ~~~~~~~ t.c:5:14: error: expected ')' in preprocessor expression #if (412 + 42 ~~~~~~~~^ t.c:5:5: error: to match this '(' #if (412 + 42 ^ t.c:10:10: warning: left side of operator converted from negative value to unsigned: -42 to 18446744073709551574 #if (-42 + 0U) / -2 ~~~ ^ ~~ t.c:10:16: warning: right side of operator converted from negative value to unsigned: -2 to 18446744073709551614 #if (-42 + 0U) / -2 ~~~~~~~~~~ ^ ~~ 5 diagnostics generated. llvm-svn: 50638 | |||||
* | fix a bug handling right associative operators that Neil noticed, hopefully | Chris Lattner | 2008-05-05 | 1 | -14/+4 | |
| | | | | | | the final part of PR2279 llvm-svn: 50635 | |||||
* | ||/&& do not do UAC's either. This silences a bogus warning on #if -1 || 4U. | Chris Lattner | 2008-05-04 | 1 | -4/+10 | |
| | | | | llvm-svn: 50632 | |||||
* | Neil points out that commas don't do UACs either. | Chris Lattner | 2008-05-04 | 1 | -1/+1 | |
| | | | | llvm-svn: 50631 | |||||
* | Fix the rest of PR2279: | Chris Lattner | 2008-05-04 | 1 | -4/+7 | |
| | | | | | | | | | a) correct rejection of ',' in pp expressions. b) the precedence of ',' was wrong w.r.t. ?:. Thanks again to Neil for finding these and providing testcases. llvm-svn: 50625 | |||||
* | Fix PR2279 part C: shifts don't perform the UACs, thanks to Neil | Chris Lattner | 2008-05-04 | 1 | -2/+4 | |
| | | | | | | for pointing this out. llvm-svn: 50624 | |||||
* | fix a nasty bug that Neil identifier in pp-expr parsing (this is PR2279 part D). | Chris Lattner | 2008-05-04 | 1 | -5/+13 | |
| | | | | llvm-svn: 50617 | |||||
* | Fix PR2220, making diagnostics for unexpected tokens in pp expressions | Chris Lattner | 2008-04-13 | 1 | -3/+3 | |
| | | | | | | more nice. llvm-svn: 49619 | |||||
* | Make a major restructuring of the clang tree: introduce a top-level | Chris Lattner | 2008-03-15 | 1 | -0/+639 | |
lib dir and move all the libraries into it. This follows the main llvm tree, and allows the libraries to be built in parallel. The top level now enforces that all the libs are built before Driver, but we don't care what order the libs are built in. This speeds up parallel builds, particularly incremental ones. llvm-svn: 48402 |