[clang-tools-extra] [clang-tidy] Migrate explicit-constructor check from google to misc and add relative aliases (PR #194807)
Baranov Victor via cfe-commits
cfe-commits at lists.llvm.org
Sun May 3 22:44:29 PDT 2026
================
@@ -1,9 +1,10 @@
#include "ClangTidyTest.h"
-#include "google/ExplicitConstructorCheck.h"
#include "google/GlobalNamesInHeadersCheck.h"
+#include "misc/ExplicitConstructorCheck.h"
#include "gtest/gtest.h"
using namespace clang::tidy::google;
+using namespace clang::tidy::misc;
----------------
vbvictor wrote:
I don't like that we create deps on misc inside google module tests.
Can we leave a todo to deprecate this test file in favor of typical lit-tests.
By looking at this file, I don't see any strong problems in migrating
https://github.com/llvm/llvm-project/pull/194807
More information about the cfe-commits
mailing list