aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2008-09-04 03:43:08 +0000
committerDaniel Dunbar <daniel@zuster.org>2008-09-04 03:43:08 +0000
commit90df4b6661968a84bf64baee489bb2f6d948fcc1 (patch)
tree633ecc6ea2f0535f2737541f6cc94d946b12251c /lib/CodeGen/CodeGenFunction.h
parent80e62c29fe21cd06c93eba6e72b7e32dca06fcf9 (diff)
Avoid superfluous errors regarding variable-length arrays (casts).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@55759 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index 853f445384..b388153836 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -151,7 +151,8 @@ public:
/// ErrorUnsupported - Print out an error that codegen doesn't support the
/// specified stmt yet.
- void ErrorUnsupported(const Stmt *S, const char *Type);
+ void ErrorUnsupported(const Stmt *S, const char *Type,
+ bool OmitOnError=false);
//===--------------------------------------------------------------------===//
// Helpers