summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2012-10-14 08:54:26 +0000
committerBill Wendling <isanbard@gmail.com>2012-10-14 08:54:26 +0000
commit7be7848e17f60825f5fbc177b8a25909a30ddb00 (patch)
tree829167031026fff9cf34cb49fceda7e13bd9477b /include
parentfd8d62c0b449b9070dc18355ac243c7fa78d40d6 (diff)
downloadllvm-7be7848e17f60825f5fbc177b8a25909a30ddb00.tar.gz
llvm-7be7848e17f60825f5fbc177b8a25909a30ddb00.tar.bz2
llvm-7be7848e17f60825f5fbc177b8a25909a30ddb00.tar.xz
Remove operator cast method in favor of querying with the correct method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165899 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Attributes.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/llvm/Attributes.h b/include/llvm/Attributes.h
index 24d52bc46d..d3d1177728 100644
--- a/include/llvm/Attributes.h
+++ b/include/llvm/Attributes.h
@@ -227,7 +227,6 @@ public:
bool isEmptyOrSingleton() const;
// This is a "safe bool() operator".
- operator const void *() const { return Attrs.Bits ? this : 0; }
bool operator == (const Attributes &A) const {
return Attrs.Bits == A.Attrs.Bits;
}