summaryrefslogtreecommitdiff
path: root/lib/IR/AttributeImpl.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-01-07 08:24:35 +0000
committerBill Wendling <isanbard@gmail.com>2013-01-07 08:24:35 +0000
commita90a99a82b9c5c39fc6dbee9c266dcd7b107fe2f (patch)
tree754eb87bfbea511e1762cce58b8f7f23efade2d6 /lib/IR/AttributeImpl.h
parenta812641879b89d636bd2e72b0cba8c13d84be709 (diff)
downloadllvm-a90a99a82b9c5c39fc6dbee9c266dcd7b107fe2f.tar.gz
llvm-a90a99a82b9c5c39fc6dbee9c266dcd7b107fe2f.tar.bz2
llvm-a90a99a82b9c5c39fc6dbee9c266dcd7b107fe2f.tar.xz
Rough out a new c'tor for the AttrBuilder class.
This c'tor takes the AttributeSet class as the parameter. It will eventually grab the attributes from the specified index and create a new attribute builder with those attributes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171712 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR/AttributeImpl.h')
-rw-r--r--lib/IR/AttributeImpl.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/IR/AttributeImpl.h b/lib/IR/AttributeImpl.h
index a2a5218d80..7bb666a40a 100644
--- a/lib/IR/AttributeImpl.h
+++ b/lib/IR/AttributeImpl.h
@@ -39,9 +39,7 @@ public:
ArrayRef<Constant*> values);
AttributeImpl(LLVMContext &C, StringRef data);
- ArrayRef<Constant*> getValues() const {
- return Vals;
- }
+ ArrayRef<Constant*> getValues() const { return Vals; }
bool hasAttribute(Attribute::AttrKind A) const;