[clang] [clang][analyzer] Fix a nullptr dereference when -ftime-trace is used (Reland) (PR #139980)

Fangyi Zhou via cfe-commits cfe-commits at lists.llvm.org
Thu May 15 06:50:22 PDT 2025


================
@@ -100,41 +100,7 @@ class SymbolConjured : public SymbolData {
   ConstCFGElementRef getCFGElementRef() const { return Elem; }
 
   // It might return null.
-  const Stmt *getStmt() const {
----------------
fangyi-zhou wrote:

moved this out of the header file because I feel like this is getting too big to be included in the header, let me know if you agree

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


More information about the cfe-commits mailing list