[all-commits] [llvm/llvm-project] 461168: [clang][analyzer] Handle CXXParenInitListExpr alon...

Fangyi Zhou via All-commits all-commits at lists.llvm.org
Sun Apr 20 08:33:03 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 461168a3d3bb1e75ff41d351a5cc506e103da5d6
      https://github.com/llvm/llvm-project/commit/461168a3d3bb1e75ff41d351a5cc506e103da5d6
  Author: Fangyi Zhou <me at fangyi.io>
  Date:   2025-04-20 (Sun, 20 Apr 2025)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/StaticAnalyzer/Checkers/DynamicTypePropagation.cpp
    M clang/lib/StaticAnalyzer/Core/ExprEngineCXX.cpp
    A clang/test/Analysis/PR135665.cpp

  Log Message:
  -----------
  [clang][analyzer] Handle CXXParenInitListExpr alongside InitListExpr (#136041)

As reported in #135665, C++20 parenthesis initializer list expressions
are not handled correctly and were causing crashes. This commit attempts
to fix the issue by handing parenthesis initializer lists along side
existing initializer lists.

Fixes #135665.



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