Skip to content

Commit 4197f26

Browse files
committed
Minor comment updates.
1 parent 3b42ed4 commit 4197f26

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

clang/lib/CodeGen/CGOpenMPRuntime.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6773,7 +6773,7 @@ class MappableExprsHandler {
67736773
public:
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

Comments
 (0)