clang-format: Improve documentation of AlignOperands.

llvm-svn: 255099
This commit is contained in:
Daniel Jasper 2015-12-09 07:56:52 +00:00
parent aa13f94456
commit 3a4ce6e1f2
1 changed files with 7 additions and 0 deletions

View File

@ -100,6 +100,13 @@ struct FormatStyle {
/// \brief If \c true, horizontally align operands of binary and ternary
/// expressions.
///
/// Specifically, this aligns operands of a single expression that needs to be
/// split over multiple lines, e.g.:
/// \code
/// int aaa = bbbbbbbbbbbbbbb +
/// ccccccccccccccc;
/// \endcode
bool AlignOperands;
/// \brief If \c true, aligns trailing comments.