]> granicus.if.org Git - clang/commit
Implement '-Weverything', which enables all warnings except those explicitly mapped...
authorTed Kremenek <kremenek@apple.com>
Thu, 18 Aug 2011 01:12:56 +0000 (01:12 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 18 Aug 2011 01:12:56 +0000 (01:12 +0000)
commit1e473ccb0e0f6fd1954bef330f7193c1a3fb3ba1
tree588f6f971fa5e1761c19fb4787d3bb79609f4f2b
parent1b2d53647dda5e4a70cea54ec3bedbf167081120
Implement '-Weverything', which enables all warnings except those explicitly mapped to be ignored.

Currently this includes -pedantic warnings as well; we'll need to consider whether these should
be included.

This works as expected with -Werror.

Test cases were added to Sema/warn-unused-parameters.c, but they should probably be broken off into
their own test file.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137910 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Diagnostic.h
lib/Basic/Diagnostic.cpp
lib/Basic/DiagnosticIDs.cpp
lib/Frontend/Warnings.cpp
test/Sema/warn-unused-parameters.c