diff options
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/IR/Attributes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/IR/Attributes.h b/llvm/include/llvm/IR/Attributes.h index 5ebb6296cd6..a1da4470d03 100644 --- a/llvm/include/llvm/IR/Attributes.h +++ b/llvm/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 |

