@@ -6773,7 +6773,7 @@ class MappableExprsHandler {
67736773public:
67746774 /// Custom comparator for attach-pointer expressions that compares them by
67756775 /// complexity (i.e. their component-depth) first, then by the order in which
6776- /// they were computed by findAttachPtrExpr (), if they are semantically
6776+ /// they were computed by collectAttachPtrExprInfo (), if they are semantically
67776777 /// different.
67786778 struct AttachPtrExprComparator {
67796779 const MappableExprsHandler *Handler;
@@ -6842,7 +6842,8 @@ class MappableExprsHandler {
68426842 }
68436843
68446844 /// Compare the two attach-ptr expressions by their computation order.
6845- /// Returns true iff LHS was computed before RHS by findAttachPtrExpr.
6845+ /// Returns true iff LHS was computed before RHS by
6846+ /// collectAttachPtrExprInfo().
68466847 bool wasComputedBefore(const Expr *LHS, const Expr *RHS) const {
68476848 const size_t &OrderLHS = Handler->AttachPtrComputationOrderMap.at(LHS);
68486849 const size_t &OrderRHS = Handler->AttachPtrComputationOrderMap.at(RHS);
@@ -7209,7 +7210,7 @@ class MappableExprsHandler {
72097210 AttachPtrComponentDepthMap = {{nullptr, std::nullopt}};
72107211
72117212 /// Map from attach pointer expressions to the order they were computed in, in
7212- /// findAttachPtrExpr ().
7213+ /// collectAttachPtrExprInfo ().
72137214 llvm::DenseMap<const Expr *, size_t> AttachPtrComputationOrderMap = {
72147215 {nullptr, 0}};
72157216
0 commit comments