[PATCH] D59408: [clang-format] [PR25010] Extend AllowShortIfStatementsOnASingleLine not working if an "else" statement is present
Ronald Wampler via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 24 12:15:15 PDT 2019
rdwampler added inline comments.
================
Comment at: clang/include/clang/Format/Format.h:264
+ /// If Else statements have no braces don't put them
+ /// on the same line.
+ /// \code
----------------
These comments can be used to auto generate the corresponding sections in clang/docs/ClangFormatStyleOptions.rst using clang/docs/tools/dump_format_style.py, so they should probably be kept in sync.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59408/new/
https://reviews.llvm.org/D59408
More information about the llvm-commits
mailing list