reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Format/FormatToken.h
  322     return is(K1) || is(K2);
  322     return is(K1) || is(K2);
  326     return is(K1) || isOneOf(K2, Ks...);
  328   template <typename T> bool isNot(T Kind) const { return !is(Kind); }
  559     return is(K1) && Next && Next->startsSequenceInternal(Tokens...);
  565     return is(K1);
  571     return is(K1);
tools/clang/lib/Format/SortJavaScriptImports.cpp
  349     if (Current->is(Keywords.kw_from)) {
  398       if (Current->is(Keywords.kw_from))
  422       if (Current->is(Keywords.kw_as)) {
tools/clang/lib/Format/TokenAnnotator.cpp
  201                (Left->Previous->is(Keywords.kw_function) ||
  349       if (MightBeObjCForRangeLoop && CurrentToken->is(Keywords.kw_in)) {
  864         if (CurrentToken && CurrentToken->is(Keywords.kw_await))
 1039       bool IsMark = CurrentToken->is(Keywords.kw_mark);
 1134          CurrentToken->is(Keywords.kw_package)) ||
 1168         CurrentToken->is(Keywords.kw_import))
 1182             CurrentToken->is(Keywords.kw_from) && CurrentToken->Next &&
 1330     } else if (Current.is(TT_LambdaArrow) || Current.is(Keywords.kw_assert)) {
 1379     if (Current.is(Keywords.kw_instanceof)) {
 1537         Tok.Previous->is(Keywords.kw_in))
 1922           Current->is(Keywords.kw_instanceof))
 2325     if (Right.is(Keywords.kw_implements))
 2330     if (Right.is(Keywords.kw_function) && Left.isNot(tok::comma))
 2516   if (Left.is(Keywords.kw_assert) && Style.Language == FormatStyle::LK_Java)
 2760     if (Right.is(tok::l_paren) && Left.is(Keywords.kw_await) && Left.Previous &&
 2763     if (Left.is(Keywords.kw_async) && Right.is(tok::l_paren) &&
 2810          (Left.is(Keywords.kw_of) && Left.Previous &&
 2818     if (Left.is(Keywords.kw_as) &&
 2824     if (Left.is(Keywords.kw_is) && Right.is(tok::l_brace))
 2850     if (Left.is(Keywords.kw_synchronized) && Right.is(tok::l_paren))
 3299     if (Right.is(Keywords.kw_is)) {
 3311     if (Left.is(Keywords.kw_in))
 3313     if (Right.is(Keywords.kw_in))
 3315     if (Right.is(Keywords.kw_as))
 3323     if (Left.is(Keywords.kw_as))
 3327     if (Left.is(Keywords.kw_declare) &&
tools/clang/lib/Format/UnwrappedLineParser.cpp
 1092     if (FormatTok->is(Keywords.kw_import)) {
 1143                  FormatTok->is(Keywords.kw_interface)) {
 1310           FormatTok->is(Keywords.kw_function) &&
 1311           (TokenCount > 1 || (TokenCount == 1 && !Line->Tokens.front().Tok->is(
 1318           FormatTok->is(Keywords.kw_interface)) {
 1527   assert(FormatTok->is(Keywords.kw_function) ||
 1529   if (FormatTok->is(Keywords.kw_async))
 1588       if (FormatTok->is(Keywords.kw_function) ||
 1712           (FormatTok->is(Keywords.kw_function) ||
 1849            FormatTok->is(Keywords.kw_finally)) ||
 1940       FormatTok->is(Keywords.kw_await))
 2392   bool IsImport = FormatTok->is(Keywords.kw_import);
 2403   if (FormatTok->is(Keywords.kw_async))
 2405   if (FormatTok->is(Keywords.kw_function)) {