[PATCH] D97683: [clang-tidy] Add <utility> include to misc-uniqueptr-reset-release

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 1 06:47:33 PST 2021


Eugene.Zelenko added inline comments.


================
Comment at: clang-tools-extra/clang-tidy/misc/UniqueptrResetReleaseCheck.cpp:22
+    : ClangTidyCheck(Name, Context),
+      Inserter(Options.getLocalOrGlobal("IncludeStyle",
+                                        utils::IncludeSorter::IS_LLVM)) {}
----------------
I think it'll be reasonable to try to get default from `.clang-format`. Same in other checks.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D97683/new/

https://reviews.llvm.org/D97683



More information about the cfe-commits mailing list