[clang] [Clang][analyzer] replace Stmt* with ConstCFGElementRef in SymbolConjured (PR #128251)

Balazs Benics via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 23 12:10:28 PDT 2025


================
@@ -114,7 +128,8 @@ class SValExplainer : public FullSValVisitor<SValExplainer, std::string> {
 
   std::string VisitSymbolConjured(const SymbolConjured *S) {
     return "symbol of type '" + S->getType().getAsString() +
-           "' conjured at statement '" + printStmt(S->getStmt()) + "'";
+           "' conjured at statement '" +
----------------
steakhal wrote:

Please do. These are only used in tests, and not in production.

https://github.com/llvm/llvm-project/pull/128251


More information about the cfe-commits mailing list