9#ifndef LLVM_CLANG_TOOLING_REFACTORING_REFACTORINGOPTIONVISITOR_H
10#define LLVM_CLANG_TOOLING_REFACTORING_REFACTORINGOPTIONVISITOR_H
31 std::optional<std::string> &
Value) = 0;
39 template <
typename ClassT>
40 static auto check(ClassT *)
41 -> std::is_same<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.
The base class of the type hierarchy.
The JSON file list parser is used to communicate input to InstallAPI.