[clang] [clang][dataflow] Add synthetic fields to `RecordStorageLocation` (PR #73860)

Yitzhak Mandelbaum via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 30 06:16:21 PST 2023


================
@@ -73,7 +73,13 @@ class ScalarStorageLocation final : public StorageLocation {
 ///
 /// Contains storage locations for all modeled fields of the record (also
 /// referred to as "children"). The child map is flat, so accessible members of
-/// the base class are directly accesible as children of this location.
+/// the base class are directly accessible as children of this location.
+///
+/// Record storage locations may also contain so-called synthetic fields. These
+/// are typically used to the internal state of a class (e.g. the value stored
----------------
ymand wrote:

"used to model"?

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


More information about the cfe-commits mailing list