https://github.com/SwastikSaha updated https://github.com/llvm/llvm-project/pull/182670
>From d01cd54229813ebfdc241b00f8fb38fdc3b82ee6 Mon Sep 17 00:00:00 2001 From: SwastikSaha <[email protected]> Date: Sat, 21 Feb 2026 15:57:57 +0530 Subject: [PATCH] [Docs] Clarify that -w suppresses warnings, not all diagnostics The UsersManual previously stated that -w disables all diagnostics. However, -w suppresses warning diagnostics only; errors are still emitted. --- clang/docs/UsersManual.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/docs/UsersManual.rst b/clang/docs/UsersManual.rst index cec1e2a6a4677..1d6a29ee478fa 100644 --- a/clang/docs/UsersManual.rst +++ b/clang/docs/UsersManual.rst @@ -149,7 +149,7 @@ Options to Control Error and Warning Messages .. option:: -w - Disable all diagnostics. + Disable all warning diagnostics. Errors are still emitted. .. option:: -Weverything _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
