From 30395dd7b77ec1abfae9ebfcacf86f5d72b91fef Mon Sep 17 00:00:00 2001 From: Mike Stump Date: Sat, 14 Feb 2009 22:49:33 +0000 Subject: Use getNameAsCString instead of getNameAsString and reflow the type. Thanks Anders. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64571 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenModule.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/CodeGen/CodeGenModule.h') diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index e5c412a75c..ff1437c20d 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -219,7 +219,7 @@ public: llvm::Constant *GetAddrOfConstantCString(const std::string &str, const char *GlobalName=0); - llvm::Constant *GetAddrOfGlobalBlock(const BlockExpr *BE, std::string); + llvm::Constant *GetAddrOfGlobalBlock(const BlockExpr *BE, const char *); /// getBuiltinLibFunction - Given a builtin id for a function like /// "__builtin_fabsf", return a Function* for "fabsf". -- cgit v1.2.3-18-g5258