projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f578c89
)
Use the number of 'slots' in the AttributeSetImpl being 0 to indicate that the Attrib...
author
Bill Wendling
<isanbard@gmail.com>
Wed, 30 Jan 2013 19:39:21 +0000
(19:39 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Wed, 30 Jan 2013 19:39:21 +0000
(19:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@173962
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/IR/Attributes.h
patch
|
blob
|
history
diff --git
a/include/llvm/IR/Attributes.h
b/include/llvm/IR/Attributes.h
index 5ebb6296cd618c5045220066d73143dcb11ae935..a1da4470d03894b062bae02d42744c25516d3ce9 100644
(file)
--- a/
include/llvm/IR/Attributes.h
+++ b/
include/llvm/IR/Attributes.h
@@
-308,7
+308,7
@@
public:
/// \brief Return true if there are no attributes.
bool isEmpty() const {
- return
pImpl
== 0;
+ return
getNumSlots()
== 0;
}
/// \brief Return the number of slots used in this attribute list. This is