diff options
Diffstat (limited to 'src/CharacterCategoryMap.cxx')
-rw-r--r-- | src/CharacterCategoryMap.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/CharacterCategoryMap.cxx b/src/CharacterCategoryMap.cxx index 5bf6394ba..10218b3af 100644 --- a/src/CharacterCategoryMap.cxx +++ b/src/CharacterCategoryMap.cxx @@ -4072,6 +4072,10 @@ namespace { enum class OtherID { oidNone, oidStart, oidContinue }; +// Silence 'magic' number warning as these character values are not used in multiple places. + +// NOLINTBEGIN(*-magic-numbers) + // Some characters are treated as valid for identifiers even // though most characters from their category are not. // Values copied from http://www.unicode.org/Public/9.0.0/ucd/PropList.txt @@ -4161,6 +4165,8 @@ bool OmitXidContinue(int character) noexcept { } } +// NOLINTEND(*-magic-numbers) + } // UAX #31 defines ID_Start as |