summaryrefslogtreecommitdiff
path: root/include/llvm/IR/Attributes.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-01-31 01:04:51 +0000
committerBill Wendling <isanbard@gmail.com>2013-01-31 01:04:51 +0000
commitb96129dd4856a5473c52daceaabdfd2262bd96f2 (patch)
treeb126ed8fdf918cdbd483c61513f9d3090482266c /include/llvm/IR/Attributes.h
parent67dad63de642cb4d94928eae5d3568268e3398bd (diff)
downloadllvm-b96129dd4856a5473c52daceaabdfd2262bd96f2.tar.gz
llvm-b96129dd4856a5473c52daceaabdfd2262bd96f2.tar.bz2
llvm-b96129dd4856a5473c52daceaabdfd2262bd96f2.tar.xz
Revert for now:
--- Reverse-merging r174010 into '.': U include/llvm/IR/Attributes.h U lib/IR/Verifier.cpp U lib/IR/Attributes.cpp git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174012 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/IR/Attributes.h')
-rw-r--r--include/llvm/IR/Attributes.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/IR/Attributes.h b/include/llvm/IR/Attributes.h
index f53cfd6a08..29eaec1d0d 100644
--- a/include/llvm/IR/Attributes.h
+++ b/include/llvm/IR/Attributes.h
@@ -113,7 +113,8 @@ public:
//===--------------------------------------------------------------------===//
/// \brief Return a uniquified Attribute object.
- static Attribute get(LLVMContext &Context, AttrKind Kind, Constant *Val = 0);
+ static Attribute get(LLVMContext &Context, AttrKind Kind);
+ static Attribute get(LLVMContext &Context, AttrBuilder &B);
/// \brief Return a uniquified Attribute object that has the specific
/// alignment set.