[PATCH] D68251: [clang-tidy] Fix module registry name and description for Darwin clang-tidy module.

Michael Wyman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 30 15:59:58 PDT 2019


mwyman created this revision.
mwyman added reviewers: stephanemoore, benhamilton, gribozavr.
mwyman added projects: clang, clang-tools-extra, LLVM.
Herald added subscribers: cfe-commits, xazax.hun.

When creating the module, must have copy-pasted from the misc module, and forgotten to update the name/description of the module in the registry.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D68251

Files:
  clang-tools-extra/clang-tidy/darwin/DarwinTidyModule.cpp


Index: clang-tools-extra/clang-tidy/darwin/DarwinTidyModule.cpp
===================================================================
--- clang-tools-extra/clang-tidy/darwin/DarwinTidyModule.cpp
+++ clang-tools-extra/clang-tidy/darwin/DarwinTidyModule.cpp
@@ -27,7 +27,7 @@
 
 // Register the DarwinTidyModule using this statically initialized variable.
 static ClangTidyModuleRegistry::Add<darwin::DarwinModule>
-    X("misc-module", "Adds miscellaneous lint checks.");
+    X("darwin-module", "Adds Darwin-specific lint checks.");
 
 // This anchor is used to force the linker to link in the generated object file
 // and thus register the DarwinModule.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68251.222512.patch
Type: text/x-patch
Size: 654 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190930/0d74d639/attachment.bin>


More information about the cfe-commits mailing list