[PATCH] D146916: [include-cleaner] Fix crash on unresolved headers
Kadir Cetinkaya via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sun Mar 26 07:28:30 PDT 2023
kadircet created this revision.
Herald added a project: All.
kadircet requested review of this revision.
Herald added a project: clang-tools-extra.
Herald added a subscriber: cfe-commits.
Make sure unresolved headers are not analyzed as part of unused
includes.
Also introduces a testing fixture for analyze tests
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D146916
Files:
clang-tools-extra/include-cleaner/lib/Analysis.cpp
clang-tools-extra/include-cleaner/unittests/AnalysisTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146916.508415.patch
Type: text/x-patch
Size: 4935 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230326/82531705/attachment.bin>
More information about the cfe-commits
mailing list