Universal character names shall be used only inside character or string literals
Universal character names shall be used only inside character or string literals.
Universal character names are a way to represent unicode characters by using code
points. For example, \U0000231A represents the unicode character '⌚'.
When you use universal character names to define an identifier, it is difficult to read the
source code. Using universal character names as identifier is confusing and troublesome.
Avoid using universal character names outside a character or string literal.
Polyspace® flags the use of universal character names outside a character or string literal.
If you expect a rule violation but do not see it, refer to the documentation for Polyspace Bug Finder™ or Polyspace Bug Finder Server™.
| Group: Lexical conventions |
| Category: Required, Automated |