[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 01:57:18 PDT 2026
https://github.com/richardmilles created https://github.com/llvm/llvm-project/pull/214670
`__FINITE_MATH_ONLY__` was rendered with literal backslashes in ClangCommandLineReference.
Fixes #156165
Assisted-by: Cursor
Made with [Cursor](https://cursor.com)
>From 336c56be205509775efccccfacca7122eab145b0 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
Assisted-by: Cursor
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