aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-08-19 21:02:26 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-08-19 21:02:26 +0000
commit4a9ec7b59d1ebbb046987dbde2bd0372c6d66170 (patch)
tree8f275aafba15976546c1c735aebfb16df893dfab /clang/lib/CodeGen/CodeGenFunction.h
parent39587672b8261cf1356f4ca8156a93cef5f8cc92 (diff)
downloadllvm-4a9ec7b59d1ebbb046987dbde2bd0372c6d66170.zip
llvm-4a9ec7b59d1ebbb046987dbde2bd0372c6d66170.tar.gz
llvm-4a9ec7b59d1ebbb046987dbde2bd0372c6d66170.tar.bz2
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. llvm-svn: 188707
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index f677a5d..688b12f 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/lib/CodeGen/CodeGenFunction.h
@@ -1327,8 +1327,7 @@ public:
/// ErrorUnsupported - Print out an error that codegen doesn't support the
/// specified stmt yet.
- void ErrorUnsupported(const Stmt *S, const char *Type,
- bool OmitOnError=false);
+ void ErrorUnsupported(const Stmt *S, const char *Type);
//===--------------------------------------------------------------------===//
// Helpers