[clang] [clang][dataflow] Model assignment to derived class from base. (PR #85064)

Gábor Horváth via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 13 11:08:17 PDT 2024


================
@@ -14,18 +14,52 @@
 
 #define DEBUG_TYPE "dataflow"
 
-void clang::dataflow::copyRecord(RecordStorageLocation &Src,
-                                 RecordStorageLocation &Dst, Environment &Env) {
+namespace clang::dataflow {
+
+static void copyField(const ValueDecl *Field, StorageLocation *SrcFieldLoc,
----------------
Xazax-hun wrote:

Should we pass `Field` by reference?

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


More information about the cfe-commits mailing list