[llvm-branch-commits] [clang] [Clang][OBT] Add overflow handler diagnostics (PR #235047)

Ambrose Leeb via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Oct 23 11:46:27 PDT 2026


================
@@ -1921,6 +1921,10 @@ def FortifySource : DiagGroup<"fortify-source", [FormatOverflow, FormatTruncatio
 
 def OverflowBehaviorAttributeIgnored
     : DiagGroup<"overflow-behavior-attribute-ignored">;
+def OverflowBehaviorGotoNoEffect : DiagGroup<"overflow-behavior-goto-no-effect">;
----------------
Sirraide wrote:

Unless you’re planning to add more diagnostics to these groups, you can just inline them in the one warning that uses them

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


More information about the llvm-branch-commits mailing list