Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move clang-cc.h to lib/Frontend/Utils.h, and move the associated .cpp | Eli Friedman | 2009-05-19 | 1 | -106/+0 |
| | | | | | | files to lib/Frontend. llvm-svn: 72099 | ||||
* | Move the warning options from Warnings.cpp to clang-cc.cpp. | Eli Friedman | 2009-05-19 | 1 | -16/+9 |
| | | | | llvm-svn: 72089 | ||||
* | move group twiddling options into Diagnostic.cpp instead of | Chris Lattner | 2009-04-19 | 1 | -49/+1 |
| | | | | | | | Warnings.cpp. Warnings.cpp now doesn't need to #include tblgen produced output directly. llvm-svn: 69559 | ||||
* | Fix PR4007: clang doesn't know -Werror-foo is the same as -Werror=foo | Chris Lattner | 2009-04-19 | 1 | -2/+3 |
| | | | | llvm-svn: 69557 | ||||
* | implement framework for -fdiagnostics-show-option, but tblgen isn't | Chris Lattner | 2009-04-16 | 1 | -1/+0 |
| | | | | | | passing down the right info yet. llvm-svn: 69268 | ||||
* | move handling of -pedantic and -pedantic-errors into Diagnostics, | Chris Lattner | 2009-04-16 | 1 | -52/+14 |
| | | | | | | | out of Warnings.cpp. This simplifies warnings.cpp and makes it more efficient. llvm-svn: 69266 | ||||
* | arrange for -Wno-error=foo warnings to be immune to -Werror as | Chris Lattner | 2009-04-16 | 1 | -1/+1 |
| | | | | | | they are supposed to be. llvm-svn: 69265 | ||||
* | when tblgen fills in all the subgroup info, clang is ready for it. | Chris Lattner | 2009-04-16 | 1 | -11/+24 |
| | | | | | | This depends on r69249 of llvm. llvm-svn: 69250 | ||||
* | make unknown warnings a warning, not an error. | Chris Lattner | 2009-04-15 | 1 | -4/+5 |
| | | | | llvm-svn: 69239 | ||||
* | add support for -Wextra and -W | Chris Lattner | 2009-04-15 | 1 | -1/+1 |
| | | | | llvm-svn: 69236 | ||||
* | use tablgen-generated warning groups. | Chris Lattner | 2009-04-15 | 1 | -49/+13 |
| | | | | llvm-svn: 69221 | ||||
* | now that we've decoupled diagnostic classes from default mappings, | Chris Lattner | 2009-04-15 | 1 | -17/+0 |
| | | | | | | | move the remaining default mapping exceptions from C++ code into the .td files. llvm-svn: 69183 | ||||
* | rename variable in comment, not just in code :). | Chris Lattner | 2009-04-15 | 1 | -3/+3 |
| | | | | llvm-svn: 69166 | ||||
* | Rejigger how -pedantic and -pedantic-errors work and their interaction | Chris Lattner | 2009-04-15 | 1 | -5/+53 |
| | | | | | | | | | | | | | | | | with other diagnostic mapping. In the new scheme, -Wfoo or -Wno-foo or -Werror=foo all override the -pedantic options, and __extension__ robustly silences all extension diagnostics in their scope. An added bonus of this change is that MAP_DEFAULT goes away, meaning that per-diagnostic mapping information can now be stored in 2 bits, doubling the density of the Diagnostic::DiagMapping array. This also substantially simplifies Diagnostic::getDiagnosticLevel. OTOH, this temporarily introduces some "macro intensive" code in Diagnostic.cpp. This will be addressed in a later patch. llvm-svn: 69154 | ||||
* | remove some commented out -Wstrict-selector-match stuff. | Chris Lattner | 2009-04-15 | 1 | -3/+0 |
| | | | | llvm-svn: 69148 | ||||
* | clean up error messages. | Chris Lattner | 2009-04-15 | 1 | -4/+5 |
| | | | | llvm-svn: 69142 | ||||
* | Add support for -Werror=foo and -Wno-error=foo | Chris Lattner | 2009-04-15 | 1 | -10/+12 |
| | | | | llvm-svn: 69138 | ||||
* | refactor a bunch of the warning parsing stuff to simplify it. This removes the | Chris Lattner | 2009-04-15 | 1 | -102/+56 |
| | | | | | | -Wfoo=ignore syntax. GCC supports -Wno-foo, no need to invent our own stuff. llvm-svn: 69136 | ||||
* | add support for -W[no-]extra-tokens | Chris Lattner | 2009-04-14 | 1 | -1/+3 |
| | | | | llvm-svn: 69071 | ||||
* | add some #includes for better compatibility with gcc 4.4, | Chris Lattner | 2009-04-11 | 1 | -0/+1 |
| | | | | | | thanks to Tobias Stadler for pointing this out. llvm-svn: 68868 | ||||
* | add support for -Wtrigraphs and -Wno-trigraphs. | Chris Lattner | 2009-04-08 | 1 | -16/+15 |
| | | | | llvm-svn: 68649 | ||||
* | Implement -Wmissing-prototypes. Fixes PR3911. | Douglas Gregor | 2009-03-31 | 1 | -0/+5 |
| | | | | llvm-svn: 68110 | ||||
* | Add support for -Wdeprecated-declarations. | Steve Naroff | 2009-03-31 | 1 | -0/+3 |
| | | | | | | This fixes <rdar://problem/6712496> Unable to disable deprecated warning. llvm-svn: 68108 | ||||
* | Implement -Wno-pointer-sign. | Eli Friedman | 2009-03-30 | 1 | -0/+4 |
| | | | | llvm-svn: 68062 | ||||
* | Move <root>/Driver into <root>/tools/clang-cc. | Daniel Dunbar | 2009-03-24 | 1 | -0/+222 |
Again, I tried to update cmake but it is untested. llvm-svn: 67605 |