llvm / llvm/llvm-project

Is it possible to separate 'misc-include-cleaner' into 2 separate option checks

Open
#181,041 2 comments 0 reactions 0 assignees View on GitHub
clang-tidy question
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

The "misc-include-cleaner" option of clang-tidy reports 2 different messages.
1) "included header is not used directly" and 2) "no header providing "std::string" is directly included".

Most of the time, we aren't concerned with addressing the second message, but would always want to address the first. It would be great to have them supported with different option names so that we can easily ignore the ones we don't need to see.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.