[clang] [clang][dataflow] When analyzing ctors, don't initialize fields of `*this` with values. (PR #84164)

via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 7 05:04:41 PST 2024


================
@@ -799,6 +806,16 @@ PointerValue &Environment::getOrCreateNullPointerValue(QualType PointeeType) {
   return DACtx->getOrCreateNullPointerValue(PointeeType);
 }
 
+void Environment::initializeFieldsWithValues(RecordStorageLocation &Loc) {
----------------
martinboehme wrote:

I consciously put this here to be consistent with the ordering in the header file. (Do we have a firm convention for this?)

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


More information about the cfe-commits mailing list