[PATCH] D128709: [clang-format] Handle Verilog attributes

2022-07-28 Thread sstwcw via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG60e12068ffeb: [clang-format] Handle Verilog attributes (authored by sstwcw). Changed prior to commit: https://reviews.llvm.org/D128709?vs=443611&id=448491#toc Repository: rG LLVM Github Monorepo CHA

[PATCH] D128709: [clang-format] Handle Verilog attributes

2022-07-11 Thread Owen Pan via Phabricator via cfe-commits
owenpan accepted this revision. owenpan added a comment. Can you mark D128709#3617654 as done? Comment at: clang/lib/Format/UnwrappedLineParser.cpp:1466-1471 + } else if (FormatTok->is(tok::l_paren)) { +const FormatToken *

[PATCH] D128709: [clang-format] Handle Verilog attributes

2022-07-11 Thread sstwcw via Phabricator via cfe-commits
sstwcw updated this revision to Diff 443611. sstwcw added a comment. - don't check peeked token for null Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D128709/new/ https://reviews.llvm.org/D128709 Files: clang/lib/Format/TokenAnnotator.cpp clan

[PATCH] D128709: [clang-format] Handle Verilog attributes

2022-06-28 Thread Owen Pan via Phabricator via cfe-commits
owenpan added inline comments. Comment at: clang/lib/Format/UnwrappedLineParser.cpp:1466-1471 + } else if (FormatTok->is(tok::l_paren)) { +const FormatToken *Next = Tokens->peekNextToken(); +if (Next && Next->is(tok::star)) + parseParens(); +

[PATCH] D128709: [clang-format] Handle Verilog attributes

2022-06-28 Thread Björn Schäpers via Phabricator via cfe-commits
HazardyKnusperkeks accepted this revision. HazardyKnusperkeks added a comment. This revision is now accepted and ready to land. Seems straight forward. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D128709/new/ https://reviews.llvm.org/D128709

[PATCH] D128709: [clang-format] Handle Verilog attributes

2022-06-28 Thread sstwcw via Phabricator via cfe-commits
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://