diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-10-19 01:21:05 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-10-19 01:21:05 +0000 |
commit | b5aacc282c31a5b3aebc48a417871e62b00eb25e (patch) | |
tree | 114c6fc57ca65963756d6a48e3d6b7c68cbea04d /clang/lib/CodeGen/CodeGenFunction.h | |
parent | fdcbc3319203b75990dd10bcca5cef63a773aede (diff) | |
download | bcm5719-llvm-b5aacc282c31a5b3aebc48a417871e62b00eb25e.tar.gz bcm5719-llvm-b5aacc282c31a5b3aebc48a417871e62b00eb25e.zip |
Twinify CodeGenFunction::CreateTempAlloca
llvm-svn: 84456
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 722d002c19f..3048257d2ce 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -34,6 +34,7 @@ namespace llvm { class LLVMContext; class Module; class SwitchInst; + class Twine; class Value; } @@ -508,7 +509,7 @@ public: /// CreateTempAlloca - This creates a alloca and inserts it into the entry /// block. llvm::AllocaInst *CreateTempAlloca(const llvm::Type *Ty, - const char *Name = "tmp"); + const llvm::Twine &Name = "tmp"); /// EvaluateExprAsBool - Perform the usual unary conversions on the specified /// expression and compare the result against zero, returning an Int1Ty value. |