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

References

tools/clang/lib/Tooling/Syntax/BuildTree.cpp
   62     assert(Tokens.back().kind() == tok::eof);
  103       assert(A.tokenBuffer().expandedTokens().back().kind() == tok::eof);
tools/clang/lib/Tooling/Syntax/Tokens.cpp
  244     if (Token->kind() == tok::TokenKind::identifier)
  367     assert(Result.ExpandedTokens.back().kind() == tok::eof);
  561   return llvm::formatv("Token({0}, length = {1})", tok::getTokenName(kind()),
  566   return llvm::formatv("{0}   {1}", tok::getTokenName(kind()), text(SM));
  571     if (T.kind() == tok::eof)
  584       if (Tokens[I].kind() == tok::eof)
tools/clang/lib/Tooling/Syntax/Tree.cpp
   78     if (T.kind() == tok::eof) {
tools/clang/tools/extra/clangd/Selection.cpp
   45       if (Tok.kind() == tok::comment || Tok.kind() == tok::semi)
   45       if (Tok.kind() == tok::comment || Tok.kind() == tok::semi)
tools/clang/tools/extra/clangd/refactor/tweaks/ExpandMacro.cpp
   75   if (T->kind() == tok::identifier)
   83   if (T->endLocation() != Cursor || T->kind() != tok::identifier)
tools/clang/tools/extra/clangd/unittests/ParsedASTTests.cpp
  187   EXPECT_EQ(T.expandedTokens().back().kind(), tok::eof);
  194   EXPECT_EQ(Spelled.front().kind(), tok::hash);
  213   EXPECT_EQ(T.expandedTokens().back().kind(), tok::eof);
tools/clang/unittests/Tooling/Syntax/TokensTest.cpp
   77 MATCHER_P(Kind, K, "") { return arg.kind() == K; }