[clang] [clang][docs] Remove extra backslashes in -ffinite-math-only help text (PR #214670)

via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 7 02:12:28 PDT 2026


https://github.com/richardmilles updated https://github.com/llvm/llvm-project/pull/214670

>From 1b2f0003d91d13421f4fd92318b44057bbb1f67f Mon Sep 17 00:00:00 2001
From: richardmilles <darkenhalneke at gmail.com>
Date: Fri, 7 Aug 2026 10:56:38 +0200
Subject: [PATCH] [clang][docs] Remove extra backslashes in -ffinite-math-only
 help text

Fixes #156165

Co-authored-by: Cursor <cursoragent at cursor.com>
---
 clang/include/clang/Options/Options.td | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/clang/include/clang/Options/Options.td b/clang/include/clang/Options/Options.td
index cf66ee3e52f2d..24f7f367b3e3e 100644
--- a/clang/include/clang/Options/Options.td
+++ b/clang/include/clang/Options/Options.td
@@ -3068,7 +3068,7 @@ defm finite_math_only : BoolOptionWithoutMarshalling<"f", "finite-math-only",
   PosFlag<SetTrue, [], [ClangOption, CC1Option],
           "Allow floating-point optimizations that "
           "assume arguments and results are not NaNs or +-inf. This defines "
-          "the \\_\\_FINITE\\_MATH\\_ONLY\\_\\_ preprocessor macro.",
+          "the __FINITE_MATH_ONLY__ preprocessor macro.",
           [ffast_math.KeyPath]>,
   NegFlag<SetFalse>>;
 defm signed_zeros : BoolFOption<"signed-zeros",



More information about the cfe-commits mailing list