]> granicus.if.org Git - clang/commit
Fix analysis based warnings so that all warnings are emitted when compiling
authorDeLesley Hutchins <delesley@google.com>
Fri, 7 Dec 2012 22:53:48 +0000 (22:53 +0000)
committerDeLesley Hutchins <delesley@google.com>
Fri, 7 Dec 2012 22:53:48 +0000 (22:53 +0000)
commit12f37e411462b8388eb1309357bd62257debacac
treecb7902a07e8652774d306fbfa61c1d5c34883eb2
parent422daa1b838788c3ef564640f9d91f52d7deffbe
Fix analysis based warnings so that all warnings are emitted when compiling
with -Werror.  Previously, compiling with -Werror would emit only the first
warning in a compilation unit, because clang assumes that once an error occurs,
further analysis is unlikely to return valid results.  However, warnings that
have been upgraded to errors should not be treated as "errors" in this sense.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@169649 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Diagnostic.h
lib/Basic/Diagnostic.cpp
lib/Basic/DiagnosticIDs.cpp
lib/Sema/AnalysisBasedWarnings.cpp
lib/Sema/SemaDecl.cpp