This revision was automatically updated to reflect the committed changes.
Closed by commit rGb67ee18e85f3: [clang-format] Handle Verilog user-defined
primitives (authored by sstwcw).
Changed prior to commit:
https://reviews.llvm.org/D128713?vs=443607&id=448489#toc
Repository:
rG LLVM Github
sstwcw updated this revision to Diff 443607.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D128713/new/
https://reviews.llvm.org/D128713
Files:
clang/lib/Format/FormatToken.h
clang/lib/Format/TokenAnnotator.cpp
clang/lib/Format/UnwrappedLinePar
owenpan accepted this revision.
owenpan added inline comments.
Comment at: clang/lib/Format/TokenAnnotator.cpp:3968
+ !Right.isOneOf(tok::r_paren, tok::semi)) ||
+(Right.is(TT_VerilogTableItem) && !Left.is(tok::l_paren))) {
+ const FormatToken *Next = Right.g
sstwcw created this revision.
sstwcw added reviewers: HazardyKnusperkeks, MyDeveloperDay, curdeius, owenpan.
Herald added a project: All.
sstwcw requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Repository:
rG LLVM Github Monorepo
https://