aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/Mangle.h
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2009-04-13 18:02:10 +0000
committerAnders Carlsson <andersca@mac.com>2009-04-13 18:02:10 +0000
commit41aa8c1e40416aad3595567415a5faa021ca8b6c (patch)
treecddfdaeeaf9421ef392834269cd71ef0fc03b364 /lib/CodeGen/Mangle.h
parent87454161a6377b573d4fc3ff45e7b3ec193e860c (diff)
Add support for mangling guard variables.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68969 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Mangle.h')
-rw-r--r--lib/CodeGen/Mangle.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/CodeGen/Mangle.h b/lib/CodeGen/Mangle.h
index 627c16a08e..b3f88b0d68 100644
--- a/lib/CodeGen/Mangle.h
+++ b/lib/CodeGen/Mangle.h
@@ -25,9 +25,12 @@ namespace llvm {
namespace clang {
class ASTContext;
class NamedDecl;
-
+ class VarDecl;
+
bool mangleName(const NamedDecl *D, ASTContext &Context,
llvm::raw_ostream &os);
+ void mangleGuardVariable(const VarDecl *D, ASTContext &Context,
+ llvm::raw_ostream &os);
}
#endif