aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-01-31 00:30:05 +0000
committerBill Wendling <isanbard@gmail.com>2013-01-31 00:30:05 +0000
commit8594fcbd1ac28d3103313515e0fbcca41984b7ca (patch)
tree6a46f85a501efe2962d35b86e4f7d77dc792cb93 /clang/lib/CodeGen/CodeGenModule.h
parentfe0021a2f999f1edf2d6d13a75f91459676f3684 (diff)
downloadllvm-8594fcbd1ac28d3103313515e0fbcca41984b7ca.zip
llvm-8594fcbd1ac28d3103313515e0fbcca41984b7ca.tar.gz
llvm-8594fcbd1ac28d3103313515e0fbcca41984b7ca.tar.bz2
Make sure that the Attribute object represents one attribute only.
Several places were still treating the Attribute object as respresenting multiple attributes. Those places now use the AttributeSet to represent multiple attributes. llvm-svn: 174004
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.h')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.h b/clang/lib/CodeGen/CodeGenModule.h
index 75c5e93..60106e0 100644
--- a/clang/lib/CodeGen/CodeGenModule.h
+++ b/clang/lib/CodeGen/CodeGenModule.h
@@ -725,8 +725,8 @@ public:
/// type and name.
llvm::Constant *CreateRuntimeFunction(llvm::FunctionType *Ty,
StringRef Name,
- llvm::Attribute ExtraAttrs =
- llvm::Attribute());
+ llvm::AttributeSet ExtraAttrs =
+ llvm::AttributeSet());
/// CreateRuntimeVariable - Create a new runtime global variable with the
/// specified type and name.
llvm::Constant *CreateRuntimeVariable(llvm::Type *Ty,
@@ -912,8 +912,8 @@ private:
llvm::Type *Ty,
GlobalDecl D,
bool ForVTable,
- llvm::Attribute ExtraAttrs =
- llvm::Attribute());
+ llvm::AttributeSet ExtraAttrs =
+ llvm::AttributeSet());
llvm::Constant *GetOrCreateLLVMGlobal(StringRef MangledName,
llvm::PointerType *PTy,
const VarDecl *D,