https://github.com/joker-eph updated https://github.com/llvm/llvm-project/pull/229932
>From ec659838dbe83b4132ae37f396ae66c1f41f4576 Mon Sep 17 00:00:00 2001 From: Mehdi Amini <[email protected]> Date: Wed, 7 Oct 2026 15:18:37 -0700 Subject: [PATCH] [clang-tidy][docs] Fix ExplicitConstructorCheck example links Point the contribution guide at the current misc/ExplicitConstructorCheck header and implementation. Replace the obsolete Phabricator source-browser link with the GitHub source link. Assisted-by: Codex --- clang-tools-extra/docs/clang-tidy/Contributing.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/clang-tools-extra/docs/clang-tidy/Contributing.rst b/clang-tools-extra/docs/clang-tidy/Contributing.rst index 1aafd7dc7faff..8d549e896c1c7 100644 --- a/clang-tools-extra/docs/clang-tidy/Contributing.rst +++ b/clang-tools-extra/docs/clang-tidy/Contributing.rst @@ -225,10 +225,10 @@ which can further inspect them and report diagnostics. } (If you want to see an example of a useful check, look at -`clang-tidy/google/ExplicitConstructorCheck.h -<https://github.com/llvm/llvm-project/blob/main/clang-tools-extra/clang-tidy/google/ExplicitConstructorCheck.h>`_ -and `clang-tidy/google/ExplicitConstructorCheck.cpp -<https://reviews.llvm.org/diffusion/L/browse/clang-tools-extra/trunk/clang-tidy/google/ExplicitConstructorCheck.cpp>`_). +`clang-tidy/misc/ExplicitConstructorCheck.h +<https://github.com/llvm/llvm-project/blob/main/clang-tools-extra/clang-tidy/misc/ExplicitConstructorCheck.h>`_ +and `clang-tidy/misc/ExplicitConstructorCheck.cpp +<https://github.com/llvm/llvm-project/blob/main/clang-tools-extra/clang-tidy/misc/ExplicitConstructorCheck.cpp>`_). If you need to interact with macros or preprocessor directives, you will want to override the method ``registerPPCallbacks``. The ``add_new_check.py`` _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
