Prepare key Key in the current mapping.
Declared in <llvm/Support/YAMLTraits.h>
virtual
bool
preflightKey(
StringRef Key,
bool Required,
bool SameAsDefault,
bool& UseDefault,
void*& SaveInfo) = 0;
true if the key/value should be processed.
| Name | Description |
|---|---|
| Key | Mapping key text. |
| Required | Whether the key must be present on input. |
| SameAsDefault | Whether the value equals its default on output. |
| UseDefault | Set to true when the default should be used. |
| SaveInfo | Opaque state restored in postflightKey. |