Home
last modified time | relevance | path

Searched refs:ToTemplate (Results 1 – 3 of 3) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/Tooling/
H A DRefactoringCallbacks.cpp160 ReplaceNodeWithTemplate::create(StringRef FromId, StringRef ToTemplate) { in create() argument
162 for (size_t Index = 0; Index < ToTemplate.size();) { in create()
163 if (ToTemplate[Index] == '$') { in create()
164 if (ToTemplate.substr(Index, 2) == "$$") { in create()
168 } else if (ToTemplate.substr(Index, 2) == "${") { in create()
169 size_t EndOfIdentifier = ToTemplate.find("}", Index); in create()
173 ToTemplate.substr(Index), in create()
177 ToTemplate.substr(Index + 2, EndOfIdentifier - Index - 2); in create()
184 ToTemplate.substr(Index), in create()
188 size_t NextIndex = ToTemplate.find('$', Index + 1); in create()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Tooling/
H A DRefactoringCallbacks.h98 create(StringRef FromId, StringRef ToTemplate);
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DASTImporter.cpp8047 if (auto *ToTemplate = in Import() local
8049 return TemplateName(ToTemplate); in Import()
8072 if (auto *ToTemplate = in Import() local
8076 ToTemplate); in Import()