mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
[LangRef] PR22118: Hyphen is allowed in IR identifiers.
E.g. %-foo and %fo-o. Thanks to eagle-eyed reporter Tomas Brukner. llvm-svn: 225400
This commit is contained in:
parent
4ac7d9a954
commit
b85a13e7a0
@ -75,7 +75,7 @@ identifiers, for different purposes:
|
||||
#. Named values are represented as a string of characters with their
|
||||
prefix. For example, ``%foo``, ``@DivisionByZero``,
|
||||
``%a.really.long.identifier``. The actual regular expression used is
|
||||
'``[%@][a-zA-Z$._][a-zA-Z$._0-9]*``'. Identifiers that require other
|
||||
'``[%@][-a-zA-Z$._][-a-zA-Z$._0-9]*``'. Identifiers that require other
|
||||
characters in their names can be surrounded with quotes. Special
|
||||
characters may be escaped using ``"\xx"`` where ``xx`` is the ASCII
|
||||
code for the character in hexadecimal. In this way, any character can
|
||||
|
Loading…
Reference in New Issue
Block a user