Searched refs:ToTemplate (Results 1 – 3 of 3) sorted by relevance
| /llvm-project-15.0.7/clang/lib/Tooling/ |
| H A D | RefactoringCallbacks.cpp | 159 ReplaceNodeWithTemplate::create(StringRef FromId, StringRef ToTemplate) { in create() argument 161 for (size_t Index = 0; Index < ToTemplate.size();) { in create() 162 if (ToTemplate[Index] == '$') { in create() 163 if (ToTemplate.substr(Index, 2) == "$$") { in create() 167 } else if (ToTemplate.substr(Index, 2) == "${") { in create() 168 size_t EndOfIdentifier = ToTemplate.find("}", Index); in create() 172 ToTemplate.substr(Index), in create() 176 ToTemplate.substr(Index + 2, EndOfIdentifier - Index - 2)); in create() 183 ToTemplate.substr(Index), in create() 187 size_t NextIndex = ToTemplate.find('$', Index + 1); in create() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/ |
| H A D | RefactoringCallbacks.h | 97 create(StringRef FromId, StringRef ToTemplate);
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ASTImporterTest.cpp | 1128 TemplateDecl *ToTemplate = ToDefaultArg.getAsTemplate().getAsTemplateDecl(); in TEST_P() local 1134 ASSERT_EQ(ToTemplate, ToExpectedDecl); in TEST_P()
|