[all-commits] [llvm/llvm-project] f5b6e9: [include-cleaner] Fix crash on unresolved headers

kadir ├žetinkaya via All-commits all-commits at lists.llvm.org
Sun Mar 26 07:38:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f5b6e9b6d355866c2aa4e440438b870885ec0373
      https://github.com/llvm/llvm-project/commit/f5b6e9b6d355866c2aa4e440438b870885ec0373
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2023-03-26 (Sun, 26 Mar 2023)

  Changed paths:
    M clang-tools-extra/include-cleaner/lib/Analysis.cpp
    M clang-tools-extra/include-cleaner/unittests/AnalysisTest.cpp

  Log Message:
  -----------
  [include-cleaner] Fix crash on unresolved headers

Make sure unresolved headers are not analyzed as part of unused
includes.

Also introduces a testing fixture for analyze tests

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




More information about the All-commits mailing list