aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms/Utils/BuildLibCalls.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-11-15 19:12:09 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-11-15 19:12:09 +0000
commitb5ccb25bc229f096e8bc88d2233cd96af1552eea (patch)
treec877c7d4d8034231aa2ceb638e515542e326f547 /include/llvm/Transforms/Utils/BuildLibCalls.h
parent6c5b2dcd8385e2465f1b9f628d4368fa7c5a3c77 (diff)
downloadexternal_llvm-b5ccb25bc229f096e8bc88d2233cd96af1552eea.zip
external_llvm-b5ccb25bc229f096e8bc88d2233cd96af1552eea.tar.gz
external_llvm-b5ccb25bc229f096e8bc88d2233cd96af1552eea.tar.bz2
StringRefize and simplify.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144675 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Utils/BuildLibCalls.h')
-rw-r--r--include/llvm/Transforms/Utils/BuildLibCalls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Utils/BuildLibCalls.h b/include/llvm/Transforms/Utils/BuildLibCalls.h
index e825938..53ff282 100644
--- a/include/llvm/Transforms/Utils/BuildLibCalls.h
+++ b/include/llvm/Transforms/Utils/BuildLibCalls.h
@@ -68,7 +68,7 @@ namespace llvm {
/// 'Op' and returns one value with the same type. If 'Op' is a long double,
/// 'l' is added as the suffix of name, if 'Op' is a float, we add a 'f'
/// suffix.
- Value *EmitUnaryFloatFnCall(Value *Op, const char *Name, IRBuilder<> &B,
+ Value *EmitUnaryFloatFnCall(Value *Op, StringRef Name, IRBuilder<> &B,
const AttrListPtr &Attrs);
/// EmitPutChar - Emit a call to the putchar function. This assumes that Char