From c6fdc34ac0183bfa03d65f317c78b7bdac52897e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 12 Jan 2008 07:05:38 +0000 Subject: Add first pieces of support for parsing and representing extern "C" in C++ mode. Patch by Mike Stump! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45904 91177308-0d34-0410-b5e6-96231b3b80d8 --- CodeGen/CodeGenModule.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CodeGen/CodeGenModule.h') diff --git a/CodeGen/CodeGenModule.h b/CodeGen/CodeGenModule.h index 6653e50881..b86ceba426 100644 --- a/CodeGen/CodeGenModule.h +++ b/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 -- cgit v1.2.3-18-g5258