16void MappingTraits<IncludeStyle::IncludeCategory>::mapping(
17 IO &IO, IncludeStyle::IncludeCategory &
Category) {
18 IO.mapOptional(
"Regex",
Category.Regex);
19 IO.mapOptional(
"Priority",
Category.Priority);
20 IO.mapOptional(
"SortPriority",
Category.SortPriority);
21 IO.mapOptional(
"CaseSensitive",
Category.RegexIsCaseSensitive);
24void ScalarEnumerationTraits<IncludeStyle::IncludeBlocksStyle>::enumeration(
25 IO &IO, IncludeStyle::IncludeBlocksStyle &
Value) {
26 IO.enumCase(
Value,
"Preserve", IncludeStyle::IBS_Preserve);
27 IO.enumCase(
Value,
"Merge", IncludeStyle::IBS_Merge);
28 IO.enumCase(
Value,
"Regroup", IncludeStyle::IBS_Regroup);
31void ScalarEnumerationTraits<IncludeStyle::MainIncludeCharDiscriminator>::
32 enumeration(IO &IO, IncludeStyle::MainIncludeCharDiscriminator &
Value) {
33 IO.enumCase(
Value,
"Quote", IncludeStyle::MICD_Quote);
34 IO.enumCase(
Value,
"AngleBracket", IncludeStyle::MICD_AngleBracket);
35 IO.enumCase(
Value,
"Any", IncludeStyle::MICD_Any);
Diagnostic wrappers for TextAPI types for error reporting.