[clang] Fix an inconsistency in UsersManual.rst (PR #179248)

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 2 06:59:48 PST 2026


https://github.com/hokein created https://github.com/llvm/llvm-project/pull/179248

None

>From 5202ee0e79eac71312ebcefe2970f2a36967ffe5 Mon Sep 17 00:00:00 2001
From: Haojian Wu <hokein.wu at gmail.com>
Date: Mon, 2 Feb 2026 15:43:56 +0100
Subject: [PATCH] Fix an inconsistency in UsersManual.rst

---
 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 c624efb26f67d..023e9a3c58834 100644
--- a/clang/docs/UsersManual.rst
+++ b/clang/docs/UsersManual.rst
@@ -129,7 +129,7 @@ Options to Control Error and Warning Messages
 .. This is in plain monospaced font because it generates the same label as
 .. -Werror, and Sphinx complains.
 
-``-Werror=foo``
+.. option:: -Werror=foo
 
   Turn warning "foo" into an error.
 



More information about the cfe-commits mailing list