HomePhabricator

[clang][Sema] Compare SourceLocations directly [NFCI]

Authored by miyuki on Jan 9 2021, 6:13 AM.

Description

[clang][Sema] Compare SourceLocations directly [NFCI]

The ordered comparison operators are defined for the SourceLocation
class, so SourceLocation objects can be compared directly. There is no
need to extract the internal representation for comparison.

Reviewed By: aprantl

Differential Revision: https://reviews.llvm.org/D94231

Details

Committed
miyukiJan 9 2021, 6:13 AM
Reviewer
aprantl
Differential Revision
D94231: [clang][Sema] Compare SourceLocations directly [NFCI]
Parents
rG7c3ae48fe85f: [mlir][spirv] Replace SPIRVOpLowering with OpConversionPattern
Branches
Unknown
Tags
Unknown