summaryrefslogtreecommitdiffstats
path: root/clang/test/Frontend/warning-mapping-2.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix the behavior of clang's -w flag.James Y Knight2019-01-291-2/+4
| | | | | | | | | | It is intended to disable _all_ warnings, even those upgraded to errors via `-Werror=warningname` or `#pragma clang diagnostic error' Fixes: https://llvm.org/PR38231 Differential Revision: https://reviews.llvm.org/D53199 llvm-svn: 352535
* Basic/Diagnostics: Rewrite DiagnosticIDs::getDiagnosticLevel completely to ↵Daniel Dunbar2011-09-291-3/+0
| | | | | | | | be straighter line code, use the new DiagnosticMappingInfo flags, and eliminate the odd MAP_WARNING_NO_WERROR and friend mappings. - This fixes a host of obscure bugs with regards to how warning mapping options composed with one another, and I believe makes the code substantially easier to read and reason about. llvm-svn: 140770
* tests: Add some more tests for warning mappings.Daniel Dunbar2011-09-291-0/+8
llvm-svn: 140764
OpenPOWER on IntegriCloud