diff options
Diffstat (limited to 'include/llvm/IR/Attributes.h')
| -rw-r--r-- | include/llvm/IR/Attributes.h | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/include/llvm/IR/Attributes.h b/include/llvm/IR/Attributes.h index 0cab8bbb8ead..a05a01073049 100644 --- a/include/llvm/IR/Attributes.h +++ b/include/llvm/IR/Attributes.h @@ -225,8 +225,8 @@ public:    static AttributeSet get(LLVMContext &C, const AttrBuilder &B);    static AttributeSet get(LLVMContext &C, ArrayRef<Attribute> Attrs); -  bool operator==(const AttributeSet &O) { return SetNode == O.SetNode; } -  bool operator!=(const AttributeSet &O) { return !(*this == O); } +  bool operator==(const AttributeSet &O) const { return SetNode == O.SetNode; } +  bool operator!=(const AttributeSet &O) const { return !(*this == O); }    /// Add an argument attribute. Returns a new set because attribute sets are    /// immutable. | 
