remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports

them into the clang namespace.

llvm-svn: 135852
This commit is contained in:
Chris Lattner
2011-07-23 10:55:15 +00:00
parent 95c664b300
commit 0e62c1cc0b
243 changed files with 2240 additions and 2290 deletions

View File

@@ -740,7 +740,7 @@ CodeGenFunction::EmitNullInitialization(llvm::Value *DestPtr, QualType Ty) {
new llvm::GlobalVariable(CGM.getModule(), NullConstant->getType(),
/*isConstant=*/true,
llvm::GlobalVariable::PrivateLinkage,
NullConstant, llvm::Twine());
NullConstant, Twine());
llvm::Value *SrcPtr =
Builder.CreateBitCast(NullVariable, Builder.getInt8PtrTy());
@@ -818,7 +818,7 @@ llvm::Value *CodeGenFunction::emitArrayLength(const ArrayType *origArrayType,
// We have some number of constant-length arrays, so addr should
// have LLVM type [M x [N x [...]]]*. Build a GEP that walks
// down to the first element of addr.
llvm::SmallVector<llvm::Value*, 8> gepIndices;
SmallVector<llvm::Value*, 8> gepIndices;
// GEP down to the array type.
llvm::ConstantInt *zero = Builder.getInt32(0);