[llvm-commits] [llvm] r119759 - /llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp
Bill Wendling
isanbard at gmail.com
Thu Nov 18 15:36:55 PST 2010
Author: void
Date: Thu Nov 18 17:36:54 2010
New Revision: 119759
URL: http://llvm.org/viewvc/llvm-project?rev=119759&view=rev
Log:
Give the exclamation point a name instead of a number.
Modified:
llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp
Modified: llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp?rev=119759&r1=119758&r2=119759&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp (original)
+++ llvm/trunk/utils/TableGen/AsmMatcherEmitter.cpp Thu Nov 18 17:36:54 2010
@@ -766,6 +766,7 @@
case '*': Res += "_STAR_"; break;
case '%': Res += "_PCT_"; break;
case ':': Res += "_COLON_"; break;
+ case '!': Res += "_EXCLAIM_"; break;
default:
if (isalnum(*it))
Res += *it;
More information about the llvm-commits
mailing list