[clang-format] Handle Verilog modules
Now things inside hierarchies like modules and interfaces are indented. When the module header spans multiple lines, all except the first line are indented as continuations. We added the property `IsContinuation` to mark lines that should be indented this way. In order that the colons inside square brackets don't get labeled as `TT_ObjCMethodExpr`, we added a check to only use this type when the language is not Verilog. Differential Revision: https://reviews.llvm.org/D128712
parent
67480b36
Please register or sign in to comment