Open PiotrZSL opened 10 months ago
@llvm/issue-subscribers-clang-include-cleaner
I've just bumped into this with std::string_literals::operator""s
, I get a warning that
no header providing "std::operator""s" is directly included
which can only be silenced by including bits/basic_string.h
. It would be nice to teach misc-include-cleaner
about these implementation details.
Here's a minimal reproducer on Compiler Explorer:
Issues found:
a)
b)
Tested version from LLVM 17.0.2
misc-include-cleaner provide more information:
And:
When
<chrono>
is already included.