================
@@ -0,0 +1,24 @@
+// RUN: %check_clang_tidy %s readability-else-after-return %t -- -- -std=c++20
+
+void f() {
+ if (true) [[likely]] {
+ return;
+ } else { // comment-0
----------------
vbvictor wrote:Can we add tests with `[[likely]]` on `else`? https://github.com/llvm/llvm-project/pull/184684 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
