summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-10-11 01:05:52 +0000
committerBill Wendling <isanbard@gmail.com>2012-10-11 01:05:52 +0000
commit3183951d88680d6077dbb7a4b0daf84124434f45 (patch)
treefd2b338a25a6e6e8e35c1988c23c13518199c545 /include
parent64ea275fe4e85f112ccfaf9c7b56fe64e11c771f (diff)
downloadllvm-3183951d88680d6077dbb7a4b0daf84124434f45.tar.gz
llvm-3183951d88680d6077dbb7a4b0daf84124434f45.tar.bz2
llvm-3183951d88680d6077dbb7a4b0daf84124434f45.tar.xz
Support a common idiom on how to build an Attributes class with a single attribute.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165686 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Attributes.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Attributes.h b/include/llvm/Attributes.h
index d20a47a286..8b43e08f08 100644
--- a/include/llvm/Attributes.h
+++ b/include/llvm/Attributes.h
@@ -95,6 +95,7 @@ private:
public:
Attributes() : Attrs(0) {}
explicit Attributes(uint64_t Val);
+ explicit Attributes(AttrVal Val);
Attributes(const Attributes &A);
class Builder {