klimek added inline comments.
================ Comment at: clang/docs/ClangFormatStyleOptions.rst:401 + * ``SIS_AlwaysNoElse`` (in configuration: ``AlwaysNoElse``) + Allow short if/else if statements even if the else is a compound statement. + ---------------- I'd try to make this either unconditionally what we do, or decide against doing it. ================ Comment at: clang/include/clang/Format/Format.h:263-264 SIS_WithoutElse, - /// Always put short ifs on the same line if - /// the else is not a compound statement or not. + /// If Else statements have no braces don't put them + /// on the same line. + /// \code ---------------- This seems weird - why would we want this? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D59408/new/ https://reviews.llvm.org/D59408 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits