[clang] 4f37de9 - [clang-format][doc] Fix a typo

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 3 00:25:01 PST 2023


Author: Owen Pan
Date: 2023-02-03T00:24:54-08:00
New Revision: 4f37de9c91eb0674c3f218c5b585780bd7072593

URL: https://github.com/llvm/llvm-project/commit/4f37de9c91eb0674c3f218c5b585780bd7072593
DIFF: https://github.com/llvm/llvm-project/commit/4f37de9c91eb0674c3f218c5b585780bd7072593.diff

LOG: [clang-format][doc] Fix a typo

Added: 
    

Modified: 
    clang/docs/ClangFormatStyleOptions.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/ClangFormatStyleOptions.rst b/clang/docs/ClangFormatStyleOptions.rst
index 8f5bb78b90bbb..ea4fe179eddce 100644
--- a/clang/docs/ClangFormatStyleOptions.rst
+++ b/clang/docs/ClangFormatStyleOptions.rst
@@ -115,7 +115,7 @@ delimited range. The code between a comment ``// clang-format off`` or
 ``/* clang-format off */`` up to a comment ``// clang-format on`` or
 ``/* clang-format on */`` will not be formatted. The comments themselves will be
 formatted (aligned) normally. Also, a colon (``:``) and additional text may
-follow ``// clang-format off`` or `` clang-format on`` to explain why
+follow ``// clang-format off`` or ``// clang-format on`` to explain why
 clang-format is turned off or back on.
 
 .. code-block:: c++


        


More information about the cfe-commits mailing list