[clang] [analyzer] Treat break, continue, goto, and label statements as trivial in WebKit checkers. (PR #91873)
Ryosuke Niwa via cfe-commits
cfe-commits at lists.llvm.org
Tue May 14 22:14:13 PDT 2024
================
@@ -445,6 +456,10 @@ class TrivialFunctionAnalysisVisitor
return Visit(VMT->getSubExpr());
}
+ bool VisitCXXBindTemporaryExpr(const CXXBindTemporaryExpr* BTE) {
+ return Visit(BTE->getSubExpr());
----------------
rniwa wrote:
Oh! I guess we need to do that in `TrivialFunctionAnalysis::isTrivialImpl`? Will follow up.
https://github.com/llvm/llvm-project/pull/91873
More information about the cfe-commits
mailing list