[clang] [clang][dataflow] Copy only the fields present in the current derived… (PR #162100)

Jan Voung via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 6 10:46:18 PDT 2025


================
@@ -64,7 +64,8 @@ TEST(RecordOpsTest, CopyRecord) {
   runDataflow(
       Code,
       [](QualType Ty) -> llvm::StringMap<QualType> {
-        if (Ty.getAsString() != "S")
+        std::string TypeAsString = Ty.getAsString();
----------------
jvoung wrote:

Ah I see, ok!

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


More information about the cfe-commits mailing list