[PATCH] D50078: clang-format: support aligned nested conditionals formatting

Francois Ferrand via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 22 23:57:34 PDT 2020


Typz marked an inline comment as done.
Typz added a comment.
Typz added inline comments.


================
Comment at: clang/lib/Format/WhitespaceManager.h:163
+    // it does not increase the indent for "chained" conditionals.
+    int ConditionalsLevel;
+
----------------
This field is not initialised in constructor of WhitespaceManager::Change class (WhitespaceManager.cpp:43). Maybe this could be the issue.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D50078





More information about the cfe-commits mailing list