[clang] [Clang][Sema] Add -Wredundant-defer to diagnose redundant `_Defer`s (PR #225748)
via cfe-commits
cfe-commits at lists.llvm.org
Fri Sep 25 06:55:16 PDT 2026
================
@@ -0,0 +1,151 @@
+// RUN: %clang_cc1 -std=c23 -fdefer-ts -fsyntax-only -verify %s -Wredundant-defer
+
+#define defer _Defer
+
----------------
Expertcoderz wrote:
Support for `AttributedStmt` and `LabelStmt` has been implemented in d0a7f75e71afd8462ef7a25535650a469ade53cf.
https://github.com/llvm/llvm-project/pull/225748
More information about the cfe-commits
mailing list