MyDeveloperDay added inline comments.

================
Comment at: clang/lib/Format/DefinitionBlockSeparator.cpp:44
+      if (CurrentToken->isOneOf(tok::kw_class, tok::kw_struct) ||
           (Style.isJavaScript() && CurrentToken->TokenText == "function"))
         return true;
----------------
I still wonder if this can't be CurrentToken->is(JSKeywords.kw_function)


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

https://reviews.llvm.org/D117520

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

Reply via email to