mbid added inline comments.

================
Comment at: clang/include/clang/Lex/Token.h:101
-    return is(K1) || is(K2);
-  }
   template <typename... Ts> bool isOneOf(tok::TokenKind K1, Ts... Ks) const {
----------------
This change is necessary to make `isOneOf` work with a single argument (and 
also no arguments). isOneOf is called from findNextAnyTokenKind, which is used 
in this patch with a single token type.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D138031

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

Reply via email to