[all-commits] [llvm/llvm-project] 564e01: [clang][analyzer] Do not analyze opaque types in C...

Discookie via All-commits all-commits at lists.llvm.org
Mon Oct 30 07:03:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 564e0165abc851dcd7a3485d4e728ce63c3d6466
      https://github.com/llvm/llvm-project/commit/564e0165abc851dcd7a3485d4e728ce63c3d6466
  Author: Discookie <viktor.cseh at ericsson.com>
  Date:   2023-10-30 (Mon, 30 Oct 2023)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/CXXDeleteChecker.cpp

  Log Message:
  -----------
  [clang][analyzer] Do not analyze opaque types in CXXDeleteChecker (#70638)

While inheritance can only be expressed if the class has a definition,
in this case one of the types might be opaque to the analyzer.

Fixes a crash encountered while analyzing LLVM.




More information about the All-commits mailing list