diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-12-19 07:18:12 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-12-19 07:18:12 +0000 |
commit | 7967fc14b912d9e355570f1f9db8ccb7d7518d94 (patch) | |
tree | 98b80fd825ad870c307c45f4dc0839998cb17f98 /clang/lib/CodeGen/ItaniumCXXABI.cpp | |
parent | c467933dc723c3fff94fd1464c3870dca512d999 (diff) | |
download | bcm5719-llvm-7967fc14b912d9e355570f1f9db8ccb7d7518d94.tar.gz bcm5719-llvm-7967fc14b912d9e355570f1f9db8ccb7d7518d94.zip |
Rename the 'Attributes' class to 'Attribute'. It's going to represent a single attribute in the future.
llvm-svn: 170500
Diffstat (limited to 'clang/lib/CodeGen/ItaniumCXXABI.cpp')
-rw-r--r-- | clang/lib/CodeGen/ItaniumCXXABI.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/lib/CodeGen/ItaniumCXXABI.cpp b/clang/lib/CodeGen/ItaniumCXXABI.cpp index 83f77823e96..6c140470b82 100644 --- a/clang/lib/CodeGen/ItaniumCXXABI.cpp +++ b/clang/lib/CodeGen/ItaniumCXXABI.cpp @@ -952,8 +952,8 @@ static llvm::Constant *getGuardAcquireFn(CodeGenModule &CGM, llvm::FunctionType::get(CGM.getTypes().ConvertType(CGM.getContext().IntTy), GuardPtrTy, /*isVarArg=*/false); return CGM.CreateRuntimeFunction(FTy, "__cxa_guard_acquire", - llvm::Attributes::get(CGM.getLLVMContext(), - llvm::Attributes::NoUnwind)); + llvm::Attribute::get(CGM.getLLVMContext(), + llvm::Attribute::NoUnwind)); } static llvm::Constant *getGuardReleaseFn(CodeGenModule &CGM, @@ -962,8 +962,8 @@ static llvm::Constant *getGuardReleaseFn(CodeGenModule &CGM, llvm::FunctionType *FTy = llvm::FunctionType::get(CGM.VoidTy, GuardPtrTy, /*isVarArg=*/false); return CGM.CreateRuntimeFunction(FTy, "__cxa_guard_release", - llvm::Attributes::get(CGM.getLLVMContext(), - llvm::Attributes::NoUnwind)); + llvm::Attribute::get(CGM.getLLVMContext(), + llvm::Attribute::NoUnwind)); } static llvm::Constant *getGuardAbortFn(CodeGenModule &CGM, @@ -972,8 +972,8 @@ static llvm::Constant *getGuardAbortFn(CodeGenModule &CGM, llvm::FunctionType *FTy = llvm::FunctionType::get(CGM.VoidTy, GuardPtrTy, /*isVarArg=*/false); return CGM.CreateRuntimeFunction(FTy, "__cxa_guard_abort", - llvm::Attributes::get(CGM.getLLVMContext(), - llvm::Attributes::NoUnwind)); + llvm::Attribute::get(CGM.getLLVMContext(), + llvm::Attribute::NoUnwind)); } namespace { |