MyDeveloperDay requested changes to this revision.
MyDeveloperDay added inline comments.
This revision now requires changes to proceed.


================
Comment at: clang/lib/Format/FormatToken.h:884
 struct AdditionalKeywords {
+#define LIST_ADDITIONAL_KEYWORDS                                               
\
+  /* Context-sensitive ones that appear in C++ or ObjC.  The lexer lexes them  
\
----------------
I didn't see this before... for me this is a hard no, I think macro code is 
ugly, it causes clang-format itself a whole host of issues, and I don't want to 
proliferate it. plus it begins a path of you using flags and I think that is 
unstructure C way of coding.

I know you want to add other keywords for Verilog but this to me isn't nice I 
don't understand why you couldn't have added the Verilog keywords like we did 
for JavaScript and C# 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D121753

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

Reply via email to