diff options
author | Chris Lattner <sabre@nondot.org> | 2012-02-06 22:16:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2012-02-06 22:16:34 +0000 |
commit | 0b2397132efe74ee11c1b371dd9033820c54240f (patch) | |
tree | 6def458d029b0ef007f68e327b2dc9e1d80bba6b /lib/CodeGen/CodeGenModule.h | |
parent | 6ef016f87244aa8072394687e27b3b4fa0147028 (diff) |
use cheaper llvm APIs for various bits of IR generation.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149916 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r-- | lib/CodeGen/CodeGenModule.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index ca096c1019..fb22bebac8 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -568,11 +568,6 @@ public: /// requires no captures. llvm::Constant *GetAddrOfGlobalBlock(const BlockExpr *BE, const char *); - /// GetStringForStringLiteral - Return the appropriate bytes for a string - /// literal, properly padded to match the literal type. If only the address of - /// a constant is needed consider using GetAddrOfConstantStringLiteral. - std::string GetStringForStringLiteral(const StringLiteral *E); - /// GetAddrOfConstantCFString - Return a pointer to a constant CFString object /// for the given string. llvm::Constant *GetAddrOfConstantCFString(const StringLiteral *Literal); |