llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: None (lb90) <details> <summary>Changes</summary> See also https://github.com/llvm/llvm-project/issues/58375 --- Full diff: https://github.com/llvm/llvm-project/pull/149474.diff 2 Files Affected: - (modified) clang/docs/ReleaseNotes.rst (+2) - (modified) clang/include/clang/Basic/DiagnosticGroups.td (+1) ``````````diff diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index ea16029268dba..f9b7240919785 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/docs/ReleaseNotes.rst @@ -716,6 +716,8 @@ Improvements to Clang's diagnostics Added a new warning in this group for the case where the attribute is missing/implicit on an override of a virtual method. +- ``-Wimplicit-fallthrough`` was added to ``-Wextra`` for GCC compatibility. + Improvements to Clang's time-trace ---------------------------------- diff --git a/clang/include/clang/Basic/DiagnosticGroups.td b/clang/include/clang/Basic/DiagnosticGroups.td index ccb18aa37447e..6283c1ead791a 100644 --- a/clang/include/clang/Basic/DiagnosticGroups.td +++ b/clang/include/clang/Basic/DiagnosticGroups.td @@ -1231,6 +1231,7 @@ def Extra : DiagGroup<"extra", [ CastFunctionTypeMismatch, InitStringTooLongMissingNonString, WarnUnnecessaryVirtualSpecifier, + ImplicitFallthrough, ]>; def Most : DiagGroup<"most", [ `````````` </details> https://github.com/llvm/llvm-project/pull/149474 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits