Add 'const' qualifier to some arrays.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186312 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Craig Topper
2013-07-15 08:02:13 +00:00
parent f67c7d7e8c
commit 3c70fcf02b
3 changed files with 4 additions and 3 deletions

View File

@ -53,7 +53,7 @@ namespace {
}
bool runOnModule(Module &M) {
static const char *metaNames[] = {
static const char *const metaNames[] = {
// See http://en.wikipedia.org/wiki/Metasyntactic_variable
"foo", "bar", "baz", "quux", "barney", "snork", "zot", "blam", "hoge",
"wibble", "wobble", "widget", "wombat", "ham", "eggs", "pluto", "spam"