diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-10-11 01:05:52 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-10-11 01:05:52 +0000 |
commit | 3183951d88680d6077dbb7a4b0daf84124434f45 (patch) | |
tree | fd2b338a25a6e6e8e35c1988c23c13518199c545 /include/llvm | |
parent | 64ea275fe4e85f112ccfaf9c7b56fe64e11c771f (diff) |
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/llvm')
-rw-r--r-- | include/llvm/Attributes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/llvm/Attributes.h b/include/llvm/Attributes.h index d20a47a286e..8b43e08f084 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 { |