================
@@ -2390,7 +2390,35 @@ void StmtProfiler::VisitMaterializeTemporaryExpr(
}
void StmtProfiler::VisitCXXFoldExpr(const CXXFoldExpr *S) {
- VisitExpr(S);
+ // For CXXFoldExpr, not profile the call expression as it may
+ // be affected by the context. e.g.,
----------------
cor3ntin wrote:
```suggestion
// For CXXFoldExpr, do not profile the call expression as it may
// be affected by the context. e.g.,
```
What is "the call expression" here?
https://github.com/llvm/llvm-project/pull/190732
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits