[PATCH] D84850: [clang-tidy] Fix module options being registered with different priorities
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 29 08:19:32 PDT 2020
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG62beb7c6f4f2: [clang-tidy] Fix module options being registered with different priorities (authored by njames93).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84850/new/
https://reviews.llvm.org/D84850
Files:
clang-tools-extra/clang-tidy/ClangTidyOptions.cpp
Index: clang-tools-extra/clang-tidy/ClangTidyOptions.cpp
===================================================================
--- clang-tools-extra/clang-tidy/ClangTidyOptions.cpp
+++ clang-tools-extra/clang-tidy/ClangTidyOptions.cpp
@@ -114,11 +114,9 @@
Options.SystemHeaders = false;
Options.FormatStyle = "none";
Options.User = llvm::None;
- unsigned Priority = 0;
for (const ClangTidyModuleRegistry::entry &Module :
ClangTidyModuleRegistry::entries())
- Options =
- Options.mergeWith(Module.instantiate()->getModuleOptions(), ++Priority);
+ Options = Options.mergeWith(Module.instantiate()->getModuleOptions(), 0);
return Options;
}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84850.281603.patch
Type: text/x-patch
Size: 676 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200729/9a472cb5/attachment.bin>
More information about the cfe-commits
mailing list