mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-04 01:26:41 +00:00
ARM uses '.' in their tokens. Give it a name instead of a numeric value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124026 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b83e60e602
commit
0ef755d905
@ -776,6 +776,7 @@ static std::string getEnumNameForToken(StringRef Str) {
|
||||
case '%': Res += "_PCT_"; break;
|
||||
case ':': Res += "_COLON_"; break;
|
||||
case '!': Res += "_EXCLAIM_"; break;
|
||||
case '.': Res += "_DOT_"; break;
|
||||
default:
|
||||
if (isalnum(*it))
|
||||
Res += *it;
|
||||
|
Loading…
x
Reference in New Issue
Block a user