10 #ifndef LLVM_CLANG_TOOLING_REFACTOR_REFACTORING_OPTION_H 11 #define LLVM_CLANG_TOOLING_REFACTOR_REFACTORING_OPTION_H 15 #include <type_traits> 20 class RefactoringOptionVisitor;
34 virtual StringRef
getName()
const = 0;
54 template <
typename OptionType>
56 static_assert(std::is_base_of<RefactoringOption, OptionType>::value,
57 "invalid option type");
58 return std::make_shared<OptionType>();
64 #endif // LLVM_CLANG_TOOLING_REFACTOR_REFACTORING_OPTION_H
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified...
Dataflow Directional Tag Classes.