Author: Owen Pan Date: 2025-08-16T20:59:07-07:00 New Revision: ee51f35993d9623563551f9bb9521824992967b6
URL: https://github.com/llvm/llvm-project/commit/ee51f35993d9623563551f9bb9521824992967b6 DIFF: https://github.com/llvm/llvm-project/commit/ee51f35993d9623563551f9bb9521824992967b6.diff LOG: [clang-format][doc] Add OneLineFormatOffRegex to format-off section Added: Modified: clang/docs/ClangFormatStyleOptions.rst Removed: ################################################################################ diff --git a/clang/docs/ClangFormatStyleOptions.rst b/clang/docs/ClangFormatStyleOptions.rst index 02986a94a656c..55ba261b7bdc0 100644 --- a/clang/docs/ClangFormatStyleOptions.rst +++ b/clang/docs/ClangFormatStyleOptions.rst @@ -126,6 +126,9 @@ clang-format is turned off or back on. // clang-format on void formatted_code_again; +In addition, the ``OneLineFormatOffRegex`` option gives you a concise way to +disable formatting for all of the lines that match the regular expression. + Configuring Style in Code ========================= _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits