Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Tooling/
H A DRefactoringCallbacks.cpp154 ReplaceNodeWithTemplate::ReplaceNodeWithTemplate( in ReplaceNodeWithTemplate() function in clang::tooling::ReplaceNodeWithTemplate
158 llvm::Expected<std::unique_ptr<ReplaceNodeWithTemplate>>
159 ReplaceNodeWithTemplate::create(StringRef FromId, StringRef ToTemplate) { in create()
194 return std::unique_ptr<ReplaceNodeWithTemplate>( in create()
195 new ReplaceNodeWithTemplate(FromId, std::move(ParsedTemplate))); in create()
198 void ReplaceNodeWithTemplate::run( in run()
/llvm-project-15.0.7/clang/unittests/Tooling/
H A DRefactoringCallbacksTest.cpp100 auto Callback = ReplaceNodeWithTemplate::create("id", "FOO"); in TEST()
108 auto Callback = ReplaceNodeWithTemplate::create("decl", "long x = ${init}"); in TEST()
118 auto Callback = ReplaceNodeWithTemplate::create("decl", in TEST()
137 auto Callback = ReplaceNodeWithTemplate::create("decl", in TEST()
144 auto Callback = ReplaceNodeWithTemplate::create("decl", in TEST()
/llvm-project-15.0.7/clang/include/clang/Tooling/
H A DRefactoringCallbacks.h94 class ReplaceNodeWithTemplate : public RefactoringCallback {
96 static llvm::Expected<std::unique_ptr<ReplaceNodeWithTemplate>>
105 ReplaceNodeWithTemplate(llvm::StringRef FromId,