[PATCH] D94500: Rework Whitesmiths mode to use line-level values in UnwrappedLineParser
Tim Wojtulewicz via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 19 20:55:36 PST 2021
timwoj updated this revision to Diff 317765.
timwoj added a comment.
Updates from review:
- Fixed handling of IndentCaseLabels
- Fixed indentation of namespace braces
- Replaced bool argument to addUnwrappedLine with an enum
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94500/new/
https://reviews.llvm.org/D94500
Files:
clang/lib/Format/TokenAnalyzer.cpp
Index: clang/lib/Format/TokenAnalyzer.cpp
===================================================================
--- clang/lib/Format/TokenAnalyzer.cpp
+++ clang/lib/Format/TokenAnalyzer.cpp
@@ -68,7 +68,6 @@
IdentifierTable IdentTable(getFormattingLangOpts(Style));
FormatTokenLexer Lex(Env.getSourceManager(), Env.getFileID(),
Env.getFirstStartColumn(), Style, Encoding, Allocator,
-
IdentTable);
ArrayRef<FormatToken *> Toks(Lex.lex());
SmallVector<FormatToken *, 10> Tokens(Toks.begin(), Toks.end());
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94500.317765.patch
Type: text/x-patch
Size: 562 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210120/fcec0339/attachment-0001.bin>
More information about the cfe-commits
mailing list