Author: Owen Pan Date: 2024-08-04T21:14:52-07:00 New Revision: d86a995ab78905cd055f8a93812c3b94cf042499
URL: https://github.com/llvm/llvm-project/commit/d86a995ab78905cd055f8a93812c3b94cf042499 DIFF: https://github.com/llvm/llvm-project/commit/d86a995ab78905cd055f8a93812c3b94cf042499.diff LOG: [clang-format][doc] Fix a typo. Added: Modified: clang/docs/ClangFormatStyleOptions.rst clang/include/clang/Format/Format.h Removed: ################################################################################ diff --git a/clang/docs/ClangFormatStyleOptions.rst b/clang/docs/ClangFormatStyleOptions.rst index 6c2e6da594847..29b08bca6a407 100644 --- a/clang/docs/ClangFormatStyleOptions.rst +++ b/clang/docs/ClangFormatStyleOptions.rst @@ -1484,7 +1484,7 @@ the configuration (without a prefix: ``Auto``). * ``OAS_AlignAfterOperator`` (in configuration: ``AlignAfterOperator``) Horizontally align operands of binary and ternary expressions. - This is similar to ``AO_Align``, except when + This is similar to ``OAS_Align``, except when ``BreakBeforeBinaryOperators`` is set, the operator is un-indented so that the wrapped operand is aligned with the operand on the first line. diff --git a/clang/include/clang/Format/Format.h b/clang/include/clang/Format/Format.h index c454ab2bc0ce2..fea5d2e17a0e2 100644 --- a/clang/include/clang/Format/Format.h +++ b/clang/include/clang/Format/Format.h @@ -533,7 +533,7 @@ struct FormatStyle { OAS_Align, /// Horizontally align operands of binary and ternary expressions. /// - /// This is similar to ``AO_Align``, except when + /// This is similar to ``OAS_Align``, except when /// ``BreakBeforeBinaryOperators`` is set, the operator is un-indented so /// that the wrapped operand is aligned with the operand on the first line. /// \code _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits