MyDeveloperDay added inline comments.

================
Comment at: clang/lib/Format/Format.cpp:649
   LLVMStyle.AllowShortIfStatementsOnASingleLine = false;
+  LLVMStyle.AllowShortLambdasOnASingleLine = FormatStyle::SLS_All;
   LLVMStyle.AllowShortLoopsOnASingleLine = false;
----------------
What is the difference between what clang-format does now and using SLS_All, 
i.e. if your introducing a new style shouldn't the default be to not change the 
exsiting code?

Without trying this myself I would think this needs to be SLS_None? (am I 
wrong?)


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57687/new/

https://reviews.llvm.org/D57687



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to