Skip to content

Commit d86a995

Browse files
committed
[clang-format][doc] Fix a typo.
1 parent a5b6539 commit d86a995

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/docs/ClangFormatStyleOptions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1484,7 +1484,7 @@ the configuration (without a prefix: ``Auto``).
14841484
* ``OAS_AlignAfterOperator`` (in configuration: ``AlignAfterOperator``)
14851485
Horizontally align operands of binary and ternary expressions.
14861486

1487-
This is similar to ``AO_Align``, except when
1487+
This is similar to ``OAS_Align``, except when
14881488
``BreakBeforeBinaryOperators`` is set, the operator is un-indented so
14891489
that the wrapped operand is aligned with the operand on the first line.
14901490

clang/include/clang/Format/Format.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ struct FormatStyle {
533533
OAS_Align,
534534
/// Horizontally align operands of binary and ternary expressions.
535535
///
536-
/// This is similar to ``AO_Align``, except when
536+
/// This is similar to ``OAS_Align``, except when
537537
/// ``BreakBeforeBinaryOperators`` is set, the operator is un-indented so
538538
/// that the wrapped operand is aligned with the operand on the first line.
539539
/// \code

0 commit comments

Comments
 (0)