HazardyKnusperkeks added a comment.

Shouldn't it have token annotator tests?



================
Comment at: clang/lib/Format/UnwrappedLineParser.cpp:495-496
   SmallVector<FormatToken *, 8> LBraceStack;
+  // Track the previous token type corresponding to our lbraces // to help
+  // detect brace types
+  SmallVector<tok::TokenKind, 8> PrevTokenKindStack;
----------------



================
Comment at: clang/lib/Format/UnwrappedLineParser.cpp:580-581
+
+          // Distinguish between braced list in a constructor initializer list
+          // followed by constructor body, or just adjacent blocks
+          ProbablyBracedList = ProbablyBracedList ||
----------------



Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D150403

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

Reply via email to