File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ class Identifier {
143
143
int compare (Identifier other) const ;
144
144
145
145
bool operator ==(Identifier RHS) const { return Pointer == RHS.Pointer ; }
146
- bool operator !=(Identifier RHS) const { return !operator ==( RHS); }
146
+ bool operator !=(Identifier RHS) const { return !(* this == RHS); }
147
147
148
148
bool operator <(Identifier RHS) const { return Pointer < RHS.Pointer ; }
149
149
@@ -367,7 +367,7 @@ class DeclName {
367
367
}
368
368
369
369
friend bool operator !=(DeclName lhs, DeclName rhs) {
370
- return !operator == (lhs, rhs);
370
+ return !(lhs == rhs);
371
371
}
372
372
373
373
friend bool operator <(DeclName lhs, DeclName rhs) {
@@ -481,7 +481,7 @@ class ObjCSelector {
481
481
}
482
482
483
483
friend bool operator !=(ObjCSelector lhs, ObjCSelector rhs) {
484
- return !operator == (lhs, rhs);
484
+ return !(lhs == rhs);
485
485
}
486
486
487
487
friend bool operator <(ObjCSelector lhs, ObjCSelector rhs) {
You can’t perform that action at this time.
0 commit comments