[all-commits] [llvm/llvm-project] a446c9: [clang][dataflow] Add support for `CXXRewrittenBin...

martinboehme via All-commits all-commits at lists.llvm.org
Wed Feb 7 23:38:48 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a446c9bf69b4797da329977366ca62e55a429a90
      https://github.com/llvm/llvm-project/commit/a446c9bf69b4797da329977366ca62e55a429a90
  Author: martinboehme <mboehme at google.com>
  Date:   2024-02-08 (Thu, 08 Feb 2024)

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

  Log Message:
  -----------
  [clang][dataflow] Add support for `CXXRewrittenBinaryOperator`. (#81086)

This occurs in rewritten candidates for binary operators (a C++20
feature).

The patch modifies UncheckedOptionalAccessModelTest to run in C++20 mode
(as
well as C++17 mode, as before) and to use rewritten candidates. The
modified
test fails without the newly added support for
`CXXRewrittenBinaryOperator`.




More information about the All-commits mailing list