OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2f76ce
)
Give the exclamation point a name instead of a number.
author
Bill Wendling
<isanbard@gmail.com>
Thu, 18 Nov 2010 23:36:54 +0000
(23:36 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Thu, 18 Nov 2010 23:36:54 +0000
(23:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@119759
91177308
-0d34-0410-b5e6-
96231b3b80d8
utils/TableGen/AsmMatcherEmitter.cpp
patch
|
blob
|
history
diff --git
a/utils/TableGen/AsmMatcherEmitter.cpp
b/utils/TableGen/AsmMatcherEmitter.cpp
index
248ce4f
..
27529a8
100644
(file)
--- a/
utils/TableGen/AsmMatcherEmitter.cpp
+++ b/
utils/TableGen/AsmMatcherEmitter.cpp
@@
-766,6
+766,7
@@
static std::string getEnumNameForToken(StringRef Str) {
case '*': Res += "_STAR_"; break;
case '%': Res += "_PCT_"; break;
case ':': Res += "_COLON_"; break;
+ case '!': Res += "_EXCLAIM_"; break;
default:
if (isalnum(*it))
Res += *it;