[clang-tools-extra] [clang-tidy] Prevent false-positive in presence of derived-to-base cast in bugprone.use-after-move (PR #189638)

Zeyi Xu via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 1 21:29:33 PDT 2026


================
@@ -28,6 +28,7 @@ using namespace clang::tidy::utils;
 
 namespace clang::tidy::bugprone {
 
+using ast_matchers::optionally;
----------------
zeyi2 wrote:

This appears redundant if `using namespace clang::ast_matchers;` already exists in the file

https://github.com/llvm/llvm-project/pull/189638


More information about the cfe-commits mailing list