Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[clangd] IncludeCleaner: Don't warn on system headers
This is a temporary hack to disable diagnostics for system headers. As of right now, IncludeCleaner does not handle the Standard Library correctly and will report most system headers as unused because very few symbols are defined in top-level system headers. This will eventually be fixed, but for now we are aiming for the most conservative approach with as little false-positive warnings as possible. After the initial prototype and core functionality is polished, I will turn back to handling the Standard Library as it requires custom logic. Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D112571
- Loading branch information
1 parent
897402e
commit c472378
Showing
3 changed files
with
25 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters