From 3def9aeaff080fa44e7fa60b91747ff060e49915 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 6 Feb 2012 22:16:34 +0000 Subject: use cheaper llvm APIs for various bits of IR generation. llvm-svn: 149916 --- clang/lib/CodeGen/CodeGenModule.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'clang/lib/CodeGen/CodeGenModule.h') diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h index ca096c1..fb22beb 100644 --- a/clang/lib/CodeGen/CodeGenModule.h +++ b/clang/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); -- cgit v1.1