aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-10-10 07:36:56 +0000
committerBill Wendling <isanbard@gmail.com>2012-10-10 07:36:56 +0000
commita7912f8894afb5d115650f15e8d7577ba092d1c5 (patch)
treee9c685bc436216af9ec1843452f2610143157ab9 /clang/lib/CodeGen/CodeGenModule.h
parentbbcdf4e2a5d57fed745d4c2a549c57c25f1e3aec (diff)
downloadllvm-a7912f8894afb5d115650f15e8d7577ba092d1c5.zip
llvm-a7912f8894afb5d115650f15e8d7577ba092d1c5.tar.gz
llvm-a7912f8894afb5d115650f15e8d7577ba092d1c5.tar.bz2
Remove the final bits of Attributes being declared in the Attribute
namespace. Use the attribute's enum value instead. No functionality change intended. llvm-svn: 165611
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index 5c19fc3..923b268 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -702,7 +702,7 @@ public:
llvm::Constant *CreateRuntimeFunction(llvm::FunctionType *Ty,
StringRef Name,
llvm::Attributes ExtraAttrs =
- llvm::Attribute::None);
+ llvm::Attributes());
/// CreateRuntimeVariable - Create a new runtime global variable with the
/// specified type and name.
llvm::Constant *CreateRuntimeVariable(llvm::Type *Ty,
@@ -881,7 +881,7 @@ private:
GlobalDecl D,
bool ForVTable,
llvm::Attributes ExtraAttrs =
- llvm::Attribute::None);
+ llvm::Attributes());
llvm::Constant *GetOrCreateLLVMGlobal(StringRef MangledName,
llvm::PointerType *PTy,
const VarDecl *D,