Home
last modified time | relevance | path

Searched refs:CodeRangeASTSelection (Results 1 – 7 of 7) sorted by relevance

/external/llvm-project/clang/include/clang/Tooling/Refactoring/
DASTSelection.h95 class CodeRangeASTSelection {
97 CodeRangeASTSelection(CodeRangeASTSelection &&) = default;
98 CodeRangeASTSelection &operator=(CodeRangeASTSelection &&) = default;
133 static Optional<CodeRangeASTSelection>
137 CodeRangeASTSelection(SelectedASTNode::ReferenceType SelectedNode, in CodeRangeASTSelection() function
DRefactoringActionRuleRequirements.h76 Expected<CodeRangeASTSelection>
/external/llvm-project/clang/unittests/Tooling/
DASTSelectionTest.cpp694 Optional<CodeRangeASTSelection> SelectedCode = in TEST()
695 CodeRangeASTSelection::create(SelectionRange, std::move(*Node)); in TEST()
702 Optional<CodeRangeASTSelection> SelectedCode = in TEST()
703 CodeRangeASTSelection::create(SelectionRange, std::move(*Node)); in TEST()
711 Optional<CodeRangeASTSelection> SelectedCode = in TEST()
712 CodeRangeASTSelection::create(SelectionRange, std::move(*Node)); in TEST()
720 Optional<CodeRangeASTSelection> SelectedCode = in TEST()
721 CodeRangeASTSelection::create(SelectionRange, std::move(*Node)); in TEST()
740 Optional<CodeRangeASTSelection> SelectedCode = in TEST()
741 CodeRangeASTSelection::create(SelectionRange, std::move(*Node)); in TEST()
[all …]
/external/llvm-project/clang/include/clang/Tooling/Refactoring/Extract/
DExtract.h28 CodeRangeASTSelection Code,
34 ExtractFunction(CodeRangeASTSelection Code, Optional<std::string> DeclName) in ExtractFunction()
41 CodeRangeASTSelection Code;
/external/llvm-project/clang/lib/Tooling/Refactoring/
DASTSelectionRequirements.cpp31 Expected<CodeRangeASTSelection> CodeRangeASTSelectionRequirement::evaluate( in evaluate()
40 Optional<CodeRangeASTSelection> CodeRange = CodeRangeASTSelection::create( in evaluate()
DASTSelection.cpp378 Optional<CodeRangeASTSelection>
379 CodeRangeASTSelection::create(SourceRange SelectionRange, in create()
397 return CodeRangeASTSelection(Selected.Node, Selected.Parents, in create()
409 return CodeRangeASTSelection(Selected.Node, Selected.Parents, in create()
418 bool CodeRangeASTSelection::isInFunctionLikeBodyOfCode() const { in isInFunctionLikeBodyOfCode()
440 const Decl *CodeRangeASTSelection::getFunctionLikeNearestParent() const { in getFunctionLikeNearestParent()
/external/llvm-project/clang/lib/Tooling/Refactoring/Extract/
DExtract.cpp70 CodeRangeASTSelection Code, in initiate()