[PATCH] D142296: [clang-format] Fix bugs in parsing C++20 module import statements

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 22 19:52:22 PST 2023


owenpan updated this revision to Diff 491221.
owenpan added a comment.

Put back the inadvertently removed line `nextToken();`, which was just before the outer `while` loop in `parseModuleImport()`.


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

https://reviews.llvm.org/D142296

Files:
  clang/lib/Format/UnwrappedLineParser.cpp
  clang/lib/Format/UnwrappedLineParser.h
  clang/unittests/Format/FormatTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142296.491221.patch
Type: text/x-patch
Size: 4303 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230123/87aa39bf/attachment.bin>


More information about the cfe-commits mailing list