9 #ifndef LLVM_CLANG_TOOLING_REFACTOR_REFACTORING_OPTION_H 10 #define LLVM_CLANG_TOOLING_REFACTOR_REFACTORING_OPTION_H 14 #include <type_traits> 19 class RefactoringOptionVisitor;
33 virtual StringRef
getName()
const = 0;
53 template <
typename OptionType>
55 static_assert(std::is_base_of<RefactoringOption, OptionType>::value,
56 "invalid option type");
57 return std::make_shared<OptionType>();
63 #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.