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 | 0e7d7b68c8053de598f38e4e8b3a00cc3ae23a9d (patch) | |
tree | 5be147aec4f49a32f25ebe13f18ef7ce8b0b2f46 /clang/lib/CodeGen/CodeGenModule.h | |
parent | 2d5a2878d4ca671826aa8c8d855d28c7ec74c1fd (diff) | |
download | bcm5719-llvm-0e7d7b68c8053de598f38e4e8b3a00cc3ae23a9d.tar.gz bcm5719-llvm-0e7d7b68c8053de598f38e4e8b3a00cc3ae23a9d.zip |
Use getNameAsCString instead of getNameAsString and reflow the type.
Thanks Anders.
llvm-svn: 64571
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index e5c412a75c1..ff1437c20dd 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/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". |