clang
9.0.0
|
A required refactoring option that stores a value of type T
.
More...
#include "clang/Tooling/Refactoring/RefactoringOptions.h"
Public Types | |
using | ValueType = T |
![]() | |
using | ValueType = Optional< T > |
Public Member Functions | |
const ValueType & | getValue () const |
bool | isRequired () const final override |
True when this option must be specified before invoking the refactoring action. More... | |
![]() | |
void | passToVisitor (RefactoringOptionVisitor &Visitor) final override |
Invokes the visit method in the option consumer that's appropriate for the option's value type. More... | |
bool | isRequired () const override |
True when this option must be specified before invoking the refactoring action. More... | |
const ValueType & | getValue () const |
![]() | |
virtual | ~RefactoringOption () |
virtual StringRef | getName () const =0 |
Returns the name of the refactoring option. More... | |
virtual StringRef | getDescription () const =0 |
Additional Inherited Members | |
![]() | |
Optional< T > | Value |
A required refactoring option that stores a value of type T
.
Definition at line 44 of file RefactoringOptions.h.
using clang::tooling::RequiredRefactoringOption< T, typename >::ValueType = T |
Definition at line 46 of file RefactoringOptions.h.
|
inline |
Definition at line 48 of file RefactoringOptions.h.
|
inlinefinaloverridevirtual |
True when this option must be specified before invoking the refactoring action.
Implements clang::tooling::RefactoringOption.
Definition at line 51 of file RefactoringOptions.h.