diff options
Diffstat (limited to 'include/llvm/IR/Attributes.h')
-rw-r--r-- | include/llvm/IR/Attributes.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/IR/Attributes.h b/include/llvm/IR/Attributes.h index 886384a..6ff0337 100644 --- a/include/llvm/IR/Attributes.h +++ b/include/llvm/IR/Attributes.h @@ -18,6 +18,7 @@ #include "llvm/ADT/ArrayRef.h" #include "llvm/ADT/DenseSet.h" +#include "llvm/ADT/FoldingSet.h" #include "llvm/Support/MathExtras.h" #include <cassert> #include <string> @@ -129,6 +130,10 @@ public: bool operator==(AttrKind K) const; bool operator!=(AttrKind K) const; + bool operator<(Attribute A) const; + + void Profile(FoldingSetNodeID &ID) const; + // FIXME: Remove these 'operator' methods. bool operator==(const Attribute &A) const { return pImpl == A.pImpl; |