File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed
clang/lib/Analysis/FlowSensitive/Models Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -174,12 +174,10 @@ static auto isPointerComparisonOperatorCall(std::string operator_name) {
174174 hasOperatorName (operator_name),
175175 hasLHS (
176176 anyOf (hasType (hasCanonicalType (pointerType (pointee (statusOrType ())))),
177- hasType (hasCanonicalType (
178- pointerType (pointee (possiblyAliasedStatusType ())))))),
179- hasRHS (
180- anyOf (hasType (hasCanonicalType (pointerType (pointee (statusOrType ())))),
181- hasType (hasCanonicalType (
182- pointerType (pointee (possiblyAliasedStatusType ())))))));
177+ hasType (hasCanonicalType (pointerType (pointee (statusType ())))))),
178+ hasRHS (anyOf (
179+ hasType (hasCanonicalType (pointerType (pointee (statusOrType ())))),
180+ hasType (hasCanonicalType (pointerType (pointee (statusType ())))))));
183181}
184182
185183static auto isStatusOrValueAssignmentCall () {
You can’t perform that action at this time.
0 commit comments