[PATCH] Refactor: Move google clang-tidy checks to namespace clang::tidy::google

Richard legalize at xmission.com
Wed Mar 4 19:52:38 PST 2015


================
Comment at: clang-tidy/google/GlobalNamesInHeadersCheck.cpp:20
@@ -19,3 +19,3 @@
 namespace tidy {
-namespace readability {
+namespace google {
 
----------------
I will fix this.

================
Comment at: clang-tidy/google/GlobalNamesInHeadersCheck.h:17
@@ -16,3 +16,3 @@
 namespace tidy {
-namespace readability {
+namespace google {
 
----------------
Looks like I missed one.  On it.

================
Comment at: clang-tidy/google/GoogleTidyModule.cpp:89-90
@@ -84,4 +88,4 @@
 // Register the GoogleTidyModule using this statically initialized variable.
-static ClangTidyModuleRegistry::Add<GoogleModule> X("google-module",
-                                                    "Adds Google lint checks.");
+static ClangTidyModuleRegistry::Add<google::GoogleModule>
+    X("google-module", "Adds Google lint checks.");
 
----------------
This will be moved into namespace `google`

http://reviews.llvm.org/D7994

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list