diff options
author | Mike Stump <mrs@apple.com> | 2009-02-14 22:49:33 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-02-14 22:49:33 +0000 |
commit | 30395dd7b77ec1abfae9ebfcacf86f5d72b91fef (patch) | |
tree | 81934bf033519de3cd1400adce27733be7bc0f32 /lib/CodeGen/CodeGenModule.h | |
parent | 67a6448a8d52ae46d1cba4e474f9f6b3968d2ff9 (diff) |
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
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | lib/CodeGen/CodeGenModule.h | 2 |
1 files changed, 1 insertions, 1 deletions
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". |