Home
last modified time | relevance | path

Searched refs:spelledForExpanded (Results 1 – 10 of 10) sorted by relevance

/llvm-project-15.0.7/clang/unittests/Tooling/Syntax/
H A DTokensTest.cpp646 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("b1 b2")), in TEST_F()
661 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("b1 b2")), in TEST_F()
689 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("a1")), in TEST_F()
691 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("a2")), in TEST_F()
693 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("a3")), in TEST_F()
738 Buffer.spelledForExpanded(findExpanded("a1 a2 a3")), in TEST_F()
759 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("y")), in TEST_F()
767 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("1")), in TEST_F()
777 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("good")), in TEST_F()
788 EXPECT_THAT(Buffer.spelledForExpanded(findExpanded("good")), in TEST_F()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clangd/refactor/tweaks/
H A DObjCLocalizeStringLiteral.cpp67 auto Toks = TB.spelledForExpanded(TB.expandedTokens(Str->getSourceRange())); in apply()
H A DDefineOutline.cpp220 TokBuf.spelledForExpanded(TokBuf.expandedTokens(A->getRange())); in getFunctionSourceCode()
246 auto Spelling = TokBuf.spelledForExpanded(llvm::makeArrayRef(Tok)); in getFunctionSourceCode()
H A DAddUsing.cpp290 auto SpelledTokens = TB.spelledForExpanded(TB.expandedTokens(NameRange)); in prepare()
/llvm-project-15.0.7/clang/lib/Tooling/Syntax/
H A DComputeReplacements.cpp86 auto Spelled = Buffer.spelledForExpanded(Expanded); in rangeOfExpanded()
H A DBuildTree.cpp580 L->CanModify = TB.spelledForExpanded(T).has_value(); in Forest()
654 TB.spelledForExpanded(Tokens).has_value(); in foldChildren()
H A DTokens.cpp456 TokenBuffer::spelledForExpanded(llvm::ArrayRef<syntax::Token> Expanded) const { in spelledForExpanded() function in TokenBuffer
/llvm-project-15.0.7/clang/include/clang/Tooling/Syntax/
H A DTokens.h233 spelledForExpanded(llvm::ArrayRef<syntax::Token> Expanded) const;
/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DDumpAST.cpp92 auto Spelled = Tokens.spelledForExpanded(Tokens.expandedTokens(SR)); in getRange()
H A DInlayHints.cpp646 auto Spelled = Tokens.spelledForExpanded(Tokens.expandedTokens(R)); in getHintRange()