krasimir added inline comments.
================ Comment at: clang/include/clang/Basic/TokenKinds.def:237 +// C# support +PUNCTUATOR(questionquestion, "??") +PUNCTUATOR(questionlsquare, "?[") ---------------- I think this is not a good place to add these. I think these definitions are generally for languages clang itself supports (compiling) This could have unexpected ripple effects in unrelated parts of the clang. Could you try to handle these somehow in lib/Format/FormatTokenLexer? That's where the clang-format has some glue / heuristics for handling other languages syntax. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D75368/new/ https://reviews.llvm.org/D75368 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits