aboutsummaryrefslogtreecommitdiff
path: root/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-12-02 01:43:38 +0000
committerChris Lattner <sabre@nondot.org>2007-12-02 01:43:38 +0000
commitdc5e8268292046114ffe02e48773572a91a310f1 (patch)
treea01c99f0898cbbdc88471484c65c70640de0747d /CodeGen/CodeGenFunction.h
parentfb97b03e42d397405f617be0252be83e77a66f6e (diff)
move unsupported warning into a centralized place.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44502 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'CodeGen/CodeGenFunction.h')
-rw-r--r--CodeGen/CodeGenFunction.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/CodeGen/CodeGenFunction.h b/CodeGen/CodeGenFunction.h
index e4bf09b15e..2fd8063837 100644
--- a/CodeGen/CodeGenFunction.h
+++ b/CodeGen/CodeGenFunction.h
@@ -269,6 +269,10 @@ public:
void EmitBlock(llvm::BasicBlock *BB);
+
+ /// WarnUnsupported - Print out a warning that codegen doesn't support the
+ /// specified stmt yet.
+ void WarnUnsupported(const Stmt *S);
//===--------------------------------------------------------------------===//
// Helpers