MyDeveloperDay added a comment.

An example of even how setting the style to be West will generate new changes 
on a previously formatted lib/Format

  $ git diff .
  diff --git a/clang/lib/Format/WhitespaceManager.cpp 
b/clang/lib/Format/WhitespaceManager.cpp
  old mode 100644
  new mode 100755
  index 5a44500d355..0274d35bad7
  --- a/clang/lib/Format/WhitespaceManager.cpp
  +++ b/clang/lib/Format/WhitespaceManager.cpp
  @@ -585,7 +585,7 @@ void WhitespaceManager::alignConsecutiveDeclarations() {
     //   SomeVeryLongType const& v3;
     AlignTokens(
         Style,
  -      [](Change const &C) {
  +      [](const Change &C) {
           // tok::kw_operator is necessary for aligning operator overload
           // definitions.
           if (C.Tok->isOneOf(TT_FunctionDeclarationName, tok::kw_operator))


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

https://reviews.llvm.org/D69764



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

Reply via email to