9#ifndef LLVM_CLANG_TOOLING_REFACTORING_REFACTORINGOPTIONVISITOR_H
10#define LLVM_CLANG_TOOLING_REFACTORING_REFACTORINGOPTIONVISITOR_H
19class RefactoringOption;
31 std::optional<std::string> &
Value) = 0;
39 template <
typename ClassT>
40 static auto check(ClassT *) ->
typename std::is_same<
41 decltype(std::declval<RefactoringOptionVisitor>().visit(
42 std::declval<RefactoringOption>(),
43 *std::declval<std::optional<T> *>())),
46 template <
typename>
static std::false_type check(...);
49 using Type =
decltype(check<RefactoringOptionVisitor>(
nullptr));
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified.
const internal::VariadicAllOfMatcher< Type > type
Matches Types in the clang AST.
The JSON file list parser is used to communicate input to InstallAPI.