This is the only remaining check that creates std::move includes but doesn't add a <utility> include.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang-tools-extra/clang-tidy/misc/UniqueptrResetReleaseCheck.cpp | ||
---|---|---|
22 | I think it'll be reasonable to try to get default from .clang-format. Same in other checks. |
clang-tools-extra/clang-tidy/misc/UniqueptrResetReleaseCheck.cpp | ||
---|---|---|
22 | There isn't a nice way to get the default from .clang-format as the FormatStyle doesn't have a nice field that says if llvm or google style is used(because it's more flexible than that). Besides that, If there is a .clang-format config. clang-tidy will reformat all changes using that style, which in turn would reorder any added includes even if they were of the wrong style. |
I think it'll be reasonable to try to get default from .clang-format. Same in other checks.