[clang] [analyzer] Import CTU constant initializers on demand (PR #231393)

DonĂ¡t Nagy via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 14 04:48:46 PDT 2026


================
@@ -1861,6 +1875,34 @@ convertOffsetsFromSvalToUnsigneds(const SmallVector<SVal, 2> &SrcOffsets,
   return std::nullopt;
 }
 
+const Expr *RegionStoreManager::getInitializer(const VarDecl *&VD) {
----------------
NagyDonat wrote:

Thanks, I like the new code. It is significantly more readable than the old code with the big comment blocks.

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


More information about the cfe-commits mailing list