Fix spurious remarks when -Weverything is used.
authorDiego Novillo <dnovillo@google.com>
Thu, 29 May 2014 16:19:27 +0000 (16:19 +0000)
committerDiego Novillo <dnovillo@google.com>
Thu, 29 May 2014 16:19:27 +0000 (16:19 +0000)
commit9c89ff1945784b9dd121c155a4510d9e9e63577a
treeff8f9b735bb3328a18035eb8416a0e06317da499
parent4d16e1192254da457d419b948a3444c56b52b7ed
Fix spurious remarks when -Weverything is used.

With -Weverything, the backend remarks are enabled. This was
causing spurious diagnostics for remarks that we don't yet
handle (cf http://reviews.llvm.org/D3683).

This will stop being a problem once http://reviews.llvm.org/D3683
is committed.

llvm-svn: 209823
clang/lib/CodeGen/CodeGenAction.cpp
clang/test/Frontend/Weverything-and-remarks.cpp [new file with mode: 0644]