This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG02fd0020e577: [clang-format] Fix bugs in parsing C++20
module import statements (authored by owenpan).
Repository:
rG LLVM Github Monorepo
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/
owenpan updated this revision to Diff 491138.
owenpan added a comment.
Added test cases with `import` followed by comments.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142296/new/
https://reviews.llvm.org/D142296
Files:
clang/lib/Format/UnwrappedLineParser.cpp
owenpan updated this revision to Diff 491137.
owenpan added a comment.
Simplified `parseModuleImport()` a little bit.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142296/new/
https://reviews.llvm.org/D142296
Files:
clang/lib/Format/UnwrappedLineParser.cpp
owenpan updated this revision to Diff 491135.
owenpan retitled this revision from "[clang-format] Fix a bug in parsing C++20
import statements" to "[clang-format] Fix bugs in parsing C++20 module import
statements".
owenpan edited the summary of this revision.
owenpan added a comment.
Also