[all-commits] [llvm/llvm-project] abc836: [clang][dataflow] Don't crash if copy constructor ...

martinboehme via All-commits all-commits at lists.llvm.org
Wed Jun 28 04:16:10 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: abc8367413ff377b79e9743ca85252f209f81d65
      https://github.com/llvm/llvm-project/commit/abc8367413ff377b79e9743ca85252f209f81d65
  Author: Martin Braenne <mboehme at google.com>
  Date:   2023-06-28 (Wed, 28 Jun 2023)

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

  Log Message:
  -----------
  [clang][dataflow] Don't crash if copy constructor arg doesn't have a storage location.

I accidentally used `cast` instead of `cast_or_null`.

Reviewed By: sammccall, xazax.hun

Differential Revision: https://reviews.llvm.org/D153956




More information about the All-commits mailing list