forked from OSchip/llvm-project
[NFC][StackSafety] Change map key comparison
This commit is contained in:
parent
0426e28419
commit
4c30d4b4e5
|
@ -101,7 +101,7 @@ template <typename CalleeTy> struct CallInfo {
|
|||
|
||||
struct Less {
|
||||
bool operator()(const CallInfo &L, const CallInfo &R) const {
|
||||
return std::tie(L.Callee, L.ParamNo) < std::tie(R.Callee, R.ParamNo);
|
||||
return std::tie(L.ParamNo, L.Callee) < std::tie(R.ParamNo, R.Callee);
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue