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

via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 21 17:15:27 PST 2025


================
@@ -82,7 +82,7 @@ void UnarySymExpr::dumpToStream(raw_ostream &os) const {
 
 void SymbolConjured::dumpToStream(raw_ostream &os) const {
   os << getKindStr() << getSymbolID() << '{' << T << ", LC" << LCtx->getID();
-  if (S)
+  if (const auto *S = getStmt())
----------------
isuckatcs wrote:

Here we might actually want to dump the `CFGElementRef` not the statement.

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


More information about the cfe-commits mailing list