[all-commits] [llvm/llvm-project] bc3789: [clang][dataflow] fix bug for transparent ListInit...

Paul Semel via All-commits all-commits at lists.llvm.org
Wed Jul 26 01:51:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc37893433d35b1448c5d4628d932fafec92efd0
      https://github.com/llvm/llvm-project/commit/bc37893433d35b1448c5d4628d932fafec92efd0
  Author: Paul Semel <semelpaul at gmail.com>
  Date:   2023-07-26 (Wed, 26 Jul 2023)

  Changed paths:
    M clang/lib/Analysis/FlowSensitive/Transfer.cpp
    M clang/unittests/Analysis/FlowSensitive/TransferTest.cpp

  Log Message:
  -----------
  [clang][dataflow] fix bug for transparent ListInitExpr handling

This fixes the handling of "transparent" ListInitExpr, when they're only
used as a copy constructor for records.

Without the fix, the two tests are crashing the process.




More information about the All-commits mailing list