Shared storage and helpers for nested textual pass and pipeline options.
More...
#include <Parsers.h>
|
| template<typename ValueT, typename CreateFnT, typename InitializeFnT> |
| std::unique_ptr< ValueT > | createValidatedValue (CreateFnT &&createValue, llvm::StringRef kind, InitializeFnT &&initializeValue) const |
| | Recreate a nested value from the stored option string and re-validate it.
|
|
| std::string | str |
| | The validated textual form without the outer {...} delimiters.
|
Shared storage and helpers for nested textual pass and pipeline options.
Definition at line 32 of file Parsers.h.
◆ createValidatedValue()
template<typename ValueT, typename CreateFnT, typename InitializeFnT>
| std::unique_ptr< ValueT > llzk::detail::NestedTextualOptions::createValidatedValue |
( |
CreateFnT && | createValue, |
|
|
llvm::StringRef | kind, |
|
|
InitializeFnT && | initializeValue ) const |
|
inline |
Recreate a nested value from the stored option string and re-validate it.
The CLI parser validates str before storing it, but callers still need a fresh initialized pass or pipeline options object when materializing the nested configuration later.
Definition at line 42 of file Parsers.h.
◆ str
| std::string llzk::detail::NestedTextualOptions::str |
The validated textual form without the outer {...} delimiters.
Definition at line 34 of file Parsers.h.
The documentation for this struct was generated from the following file: