Lines Matching refs:tooling
55 tooling::FileContentMappings FileContents = {{HeaderName, HeaderContent}, in runClangRenameOnCode()
61 tooling::USRFindingAction FindingAction({}, {std::string(OldName)}, false); in runClangRenameOnCode()
62 std::unique_ptr<tooling::FrontendActionFactory> USRFindingActionFactory = in runClangRenameOnCode()
63 tooling::newFrontendActionFactory(&FindingAction); in runClangRenameOnCode()
65 if (!tooling::runToolOnCodeWithArgs( in runClangRenameOnCode()
74 std::map<std::string, tooling::Replacements> FileToReplacements; in runClangRenameOnCode()
75 tooling::QualifiedRenamingAction RenameAction(NewNames, USRList, in runClangRenameOnCode()
77 auto RenameActionFactory = tooling::newFrontendActionFactory(&RenameAction); in runClangRenameOnCode()
78 if (!tooling::runToolOnCodeWithArgs( in runClangRenameOnCode()
96 tooling::Replacements Replaces = format::reformat( in format()
97 format::getLLVMStyle(), Code, {tooling::Range(0, Code.size())}); in format()
98 auto ChangedCode = tooling::applyAllReplacements(Code, Replaces); in format()