summaryrefslogtreecommitdiffstats
path: root/clang/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
commit0c08f6fddec505336474209e911866d919a6a3a1 (patch)
tree31921501ab7090d378867a7064fd91c1bf9f815d /clang/lib/CodeGen/Mangle.h
parent42959b266019040c9fa20fa5a4877f60fea01d71 (diff)
downloadbcm5719-llvm-0c08f6fddec505336474209e911866d919a6a3a1.tar.gz
bcm5719-llvm-0c08f6fddec505336474209e911866d919a6a3a1.zip
Add support for mangling guard variables.
llvm-svn: 68969
Diffstat (limited to 'clang/lib/CodeGen/Mangle.h')
-rw-r--r--clang/lib/CodeGen/Mangle.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/Mangle.h b/clang/lib/CodeGen/Mangle.h
index 627c16a08ef..b3f88b0d687 100644
--- a/clang/lib/CodeGen/Mangle.h
+++ b/clang/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
OpenPOWER on IntegriCloud