https://github.com/unterumarmung created 
https://github.com/llvm/llvm-project/pull/244401

Move the lit test for `readability-redundant-control-flow` to 
`readability/redundant-control-flow/test.cpp`.

This is the single-file migration pilot for the proposed per-check lit layout. 
The new directory gives the check its own Ninja test target.

### Testing

The test passed when run directly with lit and through 
`check-clang-extra-clang-tidy-checkers-readability-redundant-control-flow`.


>From e8c3f26ff6a38237b6ac2628a15d387c311b9744 Mon Sep 17 00:00:00 2001
From: Daniil Dudkin <[email protected]>
Date: Fri, 20 Nov 2026 00:01:55 +0300
Subject: [PATCH] [clang-tidy] Move redundant-control-flow tests into a
 per-check directory

---
 .../test.cpp}                                                     | 0
 1 file changed, 0 insertions(+), 0 deletions(-)
 rename 
clang-tools-extra/test/clang-tidy/checkers/readability/{redundant-control-flow.cpp
 => redundant-control-flow/test.cpp} (100%)

diff --git 
a/clang-tools-extra/test/clang-tidy/checkers/readability/redundant-control-flow.cpp
 
b/clang-tools-extra/test/clang-tidy/checkers/readability/redundant-control-flow/test.cpp
similarity index 100%
rename from 
clang-tools-extra/test/clang-tidy/checkers/readability/redundant-control-flow.cpp
rename to 
clang-tools-extra/test/clang-tidy/checkers/readability/redundant-control-flow/test.cpp

_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to