We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37ab8a9 commit 70c3c52Copy full SHA for 70c3c52
llvm/include/llvm/ProfileData/MemProf.h
@@ -835,8 +835,7 @@ struct LineLocation {
835
LineLocation(uint32_t L, uint32_t D) : LineOffset(L), Column(D) {}
836
837
bool operator<(const LineLocation &O) const {
838
- return LineOffset < O.LineOffset ||
839
- (LineOffset == O.LineOffset && Column < O.Column);
+ return std::tie(LineOffset, Column) < std::tie(O.LineOffset, O.Column);
840
}
841
842
bool operator==(const LineLocation &O) const {
0 commit comments