Home
last modified time | relevance | path

Searched refs:PartOfSpelledToken (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/
DSourceCodeTests.cpp398 EXPECT_FALSE(W.PartOfSpelledToken); in TEST_F()
405 ASSERT_TRUE(W.PartOfSpelledToken); in TEST_F()
406 EXPECT_EQ(W.PartOfSpelledToken->kind(), tok::string_literal); in TEST_F()
419 EXPECT_EQ(W.SpelledToken, W.PartOfSpelledToken); in TEST_F()
430 EXPECT_EQ(W.SpelledToken, W.PartOfSpelledToken); in TEST_F()
/external/llvm-project/clang-tools-extra/clangd/
DSourceCode.h238 const syntax::Token *PartOfSpelledToken = nullptr; member
DXRefs.cpp464 if (Word.PartOfSpelledToken && in locateSymbolTextually()
465 isStringLiteral(Word.PartOfSpelledToken->kind())) in locateSymbolTextually()
567 if (Word.PartOfSpelledToken && in findNearbyIdentifier()
568 isStringLiteral(Word.PartOfSpelledToken->kind())) in findNearbyIdentifier()
DSourceCode.cpp931 Result.PartOfSpelledToken = &T; in touching()
965 Result.PartOfSpelledToken = &T; in touching()