[all-commits] [llvm/llvm-project] 49cb17: [clang][dataflow] Handle CXXInheritedCtorInitExpr ...

Pasquale Riello via All-commits all-commits at lists.llvm.org
Fri Jul 26 06:39:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 49cb1701389ac3cff3e2c552531bfd3a607311d8
      https://github.com/llvm/llvm-project/commit/49cb1701389ac3cff3e2c552531bfd3a607311d8
  Author: Pasquale Riello <pas.riello at gmail.com>
  Date:   2024-07-26 (Fri, 26 Jul 2024)

  Changed paths:
    M clang/lib/Analysis/FlowSensitive/DataflowEnvironment.cpp
    M clang/unittests/Analysis/FlowSensitive/DataflowEnvironmentTest.cpp

  Log Message:
  -----------
  [clang][dataflow] Handle CXXInheritedCtorInitExpr in ResultObjectVisitor. (#99616)

`CXXInheritedCtorInitExpr` is another of the node kinds that should be
considered an "original initializer". An assertion failure in
`assert(Children.size() == 1)` happens without this fix.

---------

Co-authored-by: martinboehme <mboehme at google.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list