[all-commits] [llvm/llvm-project] 9f7678: [clang][Sema] Compare SourceLocations directly [NFCI]
Mikhail Maltsev via All-commits
all-commits at lists.llvm.org
Sat Jan 9 06:18:39 PST 2021
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 9f76788b0930ed48f5f20a25f1b30d63c8486531
https://github.com/llvm/llvm-project/commit/9f76788b0930ed48f5f20a25f1b30d63c8486531
Author: Mikhail Maltsev <mikhail.maltsev at arm.com>
Date: 2021-01-09 (Sat, 09 Jan 2021)
Changed paths:
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaStmt.cpp
Log Message:
-----------
[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
More information about the All-commits
mailing list