[clang] [NFC] Correct comments grammar and refine it (PR #190895)

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 7 19:48:12 PDT 2026


https://github.com/ChuanqiXu9 created https://github.com/llvm/llvm-project/pull/190895

Following https://github.com/llvm/llvm-project/pull/190732

>From 8ff8cd19044905b418180c37dee3d35219d19015 Mon Sep 17 00:00:00 2001
From: Chuanqi Xu <yedeng.yd at linux.alibaba.com>
Date: Wed, 8 Apr 2026 10:41:48 +0800
Subject: [PATCH] [NFC] Correct comments grammar and refine it

Following https://github.com/llvm/llvm-project/pull/190732
---
 clang/lib/AST/StmtProfile.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/lib/AST/StmtProfile.cpp b/clang/lib/AST/StmtProfile.cpp
index af27a928edff6..37e40959e00c8 100644
--- a/clang/lib/AST/StmtProfile.cpp
+++ b/clang/lib/AST/StmtProfile.cpp
@@ -2390,7 +2390,7 @@ void StmtProfiler::VisitMaterializeTemporaryExpr(
 }
 
 void StmtProfiler::VisitCXXFoldExpr(const CXXFoldExpr *S) {
-  // For CXXFoldExpr, not profile the call expression as it may
+  // For CXXFoldExpr, do not profile the callee as it may
   // be affected by the context. e.g.,
   //
   // "a.h"



More information about the cfe-commits mailing list