[cfe-commits] r153578 - /cfe/trunk/lib/CodeGen/CGDeclCXX.cpp
NAKAMURA Takumi
geek4civic at gmail.com
Wed Mar 28 09:24:30 PDT 2012
Author: chapuni
Date: Wed Mar 28 11:24:29 2012
New Revision: 153578
URL: http://llvm.org/viewvc/llvm-project?rev=153578&view=rev
Log:
CodeGen/CGDeclCXX.cpp: Twine-ize CreateGlobalInitOrDestructFunction().
Modified:
cfe/trunk/lib/CodeGen/CGDeclCXX.cpp
Modified: cfe/trunk/lib/CodeGen/CGDeclCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDeclCXX.cpp?rev=153578&r1=153577&r2=153578&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CGDeclCXX.cpp (original)
+++ cfe/trunk/lib/CodeGen/CGDeclCXX.cpp Wed Mar 28 11:24:29 2012
@@ -195,7 +195,7 @@
static llvm::Function *
CreateGlobalInitOrDestructFunction(CodeGenModule &CGM,
llvm::FunctionType *FTy,
- StringRef Name) {
+ const Twine &Name) {
llvm::Function *Fn =
llvm::Function::Create(FTy, llvm::GlobalValue::InternalLinkage,
Name, &CGM.getModule());
More information about the cfe-commits
mailing list