diff options
| author | Bill Wendling <isanbard@gmail.com> | 2011-01-22 09:44:32 +0000 | 
|---|---|---|
| committer | Bill Wendling <isanbard@gmail.com> | 2011-01-22 09:44:32 +0000 | 
| commit | a01ea89fb64c8ed8fc9420374d8e494d335b94a8 (patch) | |
| tree | c4e11620d643a8c7c9c00fd9840150e9518fbd08 /llvm/utils/TableGen | |
| parent | 0140bfeead0452e7144e449b86f3fa581a020617 (diff) | |
| download | bcm5719-llvm-a01ea89fb64c8ed8fc9420374d8e494d335b94a8.tar.gz bcm5719-llvm-a01ea89fb64c8ed8fc9420374d8e494d335b94a8.zip | |
ARM uses '.' in their tokens. Give it a name instead of a numeric value.
llvm-svn: 124026
Diffstat (limited to 'llvm/utils/TableGen')
| -rw-r--r-- | llvm/utils/TableGen/AsmMatcherEmitter.cpp | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/llvm/utils/TableGen/AsmMatcherEmitter.cpp b/llvm/utils/TableGen/AsmMatcherEmitter.cpp index b9031b1561c..082b1c5f3e9 100644 --- a/llvm/utils/TableGen/AsmMatcherEmitter.cpp +++ b/llvm/utils/TableGen/AsmMatcherEmitter.cpp @@ -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; | 

