ΒΆtemplate <typename OptionType>
std::shared_ptr<OptionType>
createRefactoringOption()

Description

Constructs a refactoring option of the given type. The ownership of options is shared among requirements that use it because one option can be used by multiple rules in a refactoring action.

Declared at: clang/include/clang/Tooling/Refactoring/RefactoringOption.h:54

Templates

OptionType