forked from OSchip/llvm-project
Use the number of 'slots' in the AttributeSetImpl being 0 to indicate that the AttributeSet is empty.
llvm-svn: 173962
This commit is contained in:
parent
9588a02b77
commit
866fc41060
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue