]> granicus.if.org Git - clang/commit
Keep track of when "unrecoverable" errors occur, then allow
authorDouglas Gregor <dgregor@apple.com>
Wed, 6 Jul 2011 17:40:26 +0000 (17:40 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 6 Jul 2011 17:40:26 +0000 (17:40 +0000)
commit85bea9777d444ccbcc086d98f075fe666c2e865d
tree50170f37929c257952e537f556636b97099464b3
parente855448bc8dddac24a72ba8dc7e936d31e896fe4
Keep track of when "unrecoverable" errors occur, then allow
clang_saveTranslationUnit() to save a PCH file if the only errors it
contains are recoverable errors. Fixes <rdar://problem/9727804>.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@134503 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/Diagnostic.h
lib/Basic/Diagnostic.cpp
lib/Basic/DiagnosticIDs.cpp
lib/Frontend/ASTUnit.cpp
test/Index/werror.c [new file with mode: 0644]