diff options
| author | Chris Lattner <sabre@nondot.org> | 2011-07-20 07:06:53 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2011-07-20 07:06:53 +0000 |
| commit | 62ff6e8b179409ac1b6f68b6ec21ce23ab950744 (patch) | |
| tree | 272bab01a12bbebf4d9314595c9dfc3a2bdaad9e /clang/lib | |
| parent | 01cf8db38b4f379e86b06eff5236b5e59dc3de49 (diff) | |
| download | bcm5719-llvm-62ff6e8b179409ac1b6f68b6ec21ce23ab950744.tar.gz bcm5719-llvm-62ff6e8b179409ac1b6f68b6ec21ce23ab950744.zip | |
add raw_ostream and Twine to LLVM.h, eliminating a ton of llvm:: qualifications.
llvm-svn: 135577
Diffstat (limited to 'clang/lib')
| -rw-r--r-- | clang/lib/CodeGen/CGRecordLayout.h | 4 | ||||
| -rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/clang/lib/CodeGen/CGRecordLayout.h b/clang/lib/CodeGen/CGRecordLayout.h index 8a450298f70..e2fd45dc86b 100644 --- a/clang/lib/CodeGen/CGRecordLayout.h +++ b/clang/lib/CodeGen/CGRecordLayout.h @@ -144,7 +144,7 @@ public: /// @} - void print(llvm::raw_ostream &OS) const; + void print(raw_ostream &OS) const; void dump() const; /// \brief Given a bit-field decl, build an appropriate helper object for @@ -270,7 +270,7 @@ public: return it->second; } - void print(llvm::raw_ostream &OS) const; + void print(raw_ostream &OS) const; void dump() const; }; diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index 656158d77fb..0a76e460776 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -1487,7 +1487,7 @@ public: /// block. The caller is responsible for setting an appropriate alignment on /// the alloca. llvm::AllocaInst *CreateTempAlloca(llvm::Type *Ty, - const llvm::Twine &Name = "tmp"); + const Twine &Name = "tmp"); /// InitTempAlloca - Provide an initial value for the given alloca. void InitTempAlloca(llvm::AllocaInst *Alloca, llvm::Value *Value); @@ -1497,15 +1497,15 @@ public: /// value needs to be stored into an alloca (for example, to avoid explicit /// PHI construction), but the type is the IR type, not the type appropriate /// for storing in memory. - llvm::AllocaInst *CreateIRTemp(QualType T, const llvm::Twine &Name = "tmp"); + llvm::AllocaInst *CreateIRTemp(QualType T, const Twine &Name = "tmp"); /// CreateMemTemp - Create a temporary memory object of the given type, with /// appropriate alignment. - llvm::AllocaInst *CreateMemTemp(QualType T, const llvm::Twine &Name = "tmp"); + llvm::AllocaInst *CreateMemTemp(QualType T, const Twine &Name = "tmp"); /// CreateAggTemp - Create a temporary memory object for the given /// aggregate type. - AggValueSlot CreateAggTemp(QualType T, const llvm::Twine &Name = "tmp") { + AggValueSlot CreateAggTemp(QualType T, const Twine &Name = "tmp") { return AggValueSlot::forAddr(CreateMemTemp(T, Name), T.getQualifiers(), false); } @@ -2075,9 +2075,9 @@ public: llvm::CallSite EmitCallOrInvoke(llvm::Value *Callee, llvm::ArrayRef<llvm::Value *> Args, - const llvm::Twine &Name = ""); + const Twine &Name = ""); llvm::CallSite EmitCallOrInvoke(llvm::Value *Callee, - const llvm::Twine &Name = ""); + const Twine &Name = ""); llvm::Value *BuildVirtualCall(const CXXMethodDecl *MD, llvm::Value *This, llvm::Type *Ty); |

