]> granicus.if.org Git - clang/commit
PR16933: Don't try to codegen things after we've seen errors.
authorDavid Blaikie <dblaikie@gmail.com>
Mon, 19 Aug 2013 21:02:26 +0000 (21:02 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Mon, 19 Aug 2013 21:02:26 +0000 (21:02 +0000)
commit0a1c862914664029e3b6693e134cf3ccbf423844
tree8fed0b89b0e0b934d2fcf02f726f0bae4ccfda04
parentc895f4d411152b08365cac48f330a8a7898fb382
PR16933: Don't try to codegen things after we've seen errors.

Refactor the underlying code a bit to remove unnecessary calls to
"hasErrorOccurred" & make them consistently at all the entry points to
the IRGen ASTConsumer.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@188707 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenFunction.cpp
lib/CodeGen/CodeGenFunction.h
lib/CodeGen/CodeGenModule.cpp
lib/CodeGen/CodeGenModule.h
lib/CodeGen/ModuleBuilder.cpp