owenpan added inline comments.

================
Comment at: clang/lib/Format/TokenAnnotator.cpp:1149-1191
+      if (Style.isVerilog()) {
+        const FormatToken *Prev = Tok->getPreviousNonComment();
+        const FormatToken *PrevPrev;
+        // Identify the parameter list and port list in a module instantiation.
+        // This is still needed when we already have
+        // UnwrappedLineParser::parseVerilogHierarchyHeader because that
+        // function is only responsible for the definition, not the
----------------
Can you make it a function or lambda with early returns?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147327

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to