[llvm-commits] [llvm] r157368 - /llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
Craig Topper
craig.topper at gmail.com
Wed May 23 21:11:15 PDT 2012
Author: ctopper
Date: Wed May 23 23:11:15 2012
New Revision: 157368
URL: http://llvm.org/viewvc/llvm-project?rev=157368&view=rev
Log:
Mark a static array as const.
Modified:
llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
Modified: llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp?rev=157368&r1=157367&r2=157368&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp (original)
+++ llvm/trunk/lib/Target/ARM/AsmParser/ARMAsmParser.cpp Wed May 23 23:11:15 2012
@@ -2305,7 +2305,7 @@
OS << "<ccout " << getReg() << ">";
break;
case k_ITCondMask: {
- static const char *MaskStr[] = {
+ static const char *const MaskStr[] = {
"()", "(t)", "(e)", "(tt)", "(et)", "(te)", "(ee)", "(ttt)", "(ett)",
"(tet)", "(eet)", "(tte)", "(ete)", "(tee)", "(eee)"
};
More information about the llvm-commits
mailing list