summaryrefslogtreecommitdiffstats
path: root/clang/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-01-12 07:05:38 +0000
committerChris Lattner <sabre@nondot.org>2008-01-12 07:05:38 +0000
commit38376f159513e5041d04e7cc8b5c62d59e8fa9d0 (patch)
tree838d9e92f54ae5f9cdf75f9fbd896ab57c25d32f /clang/CodeGen/CodeGenModule.h
parent22ad7abdfe6bfbe807cb797b0a446a3a15097afe (diff)
downloadbcm5719-llvm-38376f159513e5041d04e7cc8b5c62d59e8fa9d0.tar.gz
bcm5719-llvm-38376f159513e5041d04e7cc8b5c62d59e8fa9d0.zip
Add first pieces of support for parsing and representing
extern "C" in C++ mode. Patch by Mike Stump! llvm-svn: 45904
Diffstat (limited to 'clang/CodeGen/CodeGenModule.h')
-rw-r--r--clang/CodeGen/CodeGenModule.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/CodeGen/CodeGenModule.h b/clang/CodeGen/CodeGenModule.h
index 6653e508813..b86ceba426b 100644
--- a/clang/CodeGen/CodeGenModule.h
+++ b/clang/CodeGen/CodeGenModule.h
@@ -95,6 +95,10 @@ public:
/// specified stmt yet.
void WarnUnsupported(const Stmt *S, const char *Type);
+ /// WarnUnsupported - Print out a warning that codegen doesn't support the
+ /// specified decl yet.
+ void WarnUnsupported(const Decl *D, const char *Type);
+
private:
/// ReplaceMapValuesWith - This is a really slow and bad function that
/// searches for any entries in GlobalDeclMap that point to OldVal, changing
OpenPOWER on IntegriCloud