Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use -Rblah, not -Wblah, to control remark diagnostics. This was always the | Richard Smith | 2014-08-07 | 1 | -21/+50 |
| | | | | | | | | | | | | | | | | | | | | | | intent when we added remark support, but was never implemented in the general case, because the first -R flags didn't need it. (-Rpass= had special handling to accomodate its argument.) -Rno-foo, -Reverything, and -Rno-everything can be used to turn off a remark, or to turn on or off all remarks. Per discussion on cfe-commits, -Weverything does not affect remarks, and -Reverything does not affect warnings or errors. The only "real" -R flag we have right now is -Rmodule-build; that flag is effectively renamed from -Wmodule-build to -Rmodule-build by this change. -Wpass and -Wno-pass (and their friends) are also renamed to -Rpass and -Rno-pass by this change; it's not completely clear whether we intended to have a -Rpass (with no =pattern), but that is unchanged by this commit, other than the flag name. The default pattern is effectively one which matches no passes. In future, we may want to make the default pattern be .*, so that -Reverything works for -Rpass properly. llvm-svn: 215046 | ||||
* | DiagnosticIDs: use diagnostic severities to simplify extension handling | Alp Toker | 2014-06-22 | 1 | -3/+3 |
| | | | | llvm-svn: 211479 | ||||
* | DiagnosticsEngine: update severity setters to new terminology | Alp Toker | 2014-06-12 | 1 | -2/+2 |
| | | | | llvm-svn: 210764 | ||||
* | Complete the switch from mappings to declarative diagnostic severities | Alp Toker | 2014-06-12 | 1 | -2/+2 |
| | | | | | | | | | This begins to address cognitive dissonance caused by treating the Note diagnostic level as a severity in the diagnostic engine. No change in functionality. llvm-svn: 210758 | ||||
* | Improve diagnostic mapping terminology | Alp Toker | 2014-06-10 | 1 | -3/+4 |
| | | | | | | | | | | | | Diagnostic mappings are used to calculate the final severity of diagnostic instances. Detangle the implementation to reflect the terminology used in documentation and bindings. No change in functionality. llvm-svn: 210518 | ||||
* | Reapply r207477 and r207479 without cyclic dependency | Ben Langmuir | 2014-04-29 | 1 | -0/+200 |
Fixed by moving ProcessWarningOptions from Frontend into Basic. All of the dependencies for ProcessWarningOptions were already in Basic, so this was a small change. llvm-svn: 207549 |