commit | 3aa29df37b140f9c6786b6863a0cac195071b598 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@gmail.com> | Mon Jul 15 08:24:27 2013 +0000 |
committer | Craig Topper <craig.topper@gmail.com> | Mon Jul 15 08:24:27 2013 +0000 |
tree | 7092a3e23011e8ec261c96ae42b77752415339ce | |
parent | dc49d523db70a1c9005b7c09de80b22ccb1ed6a4 [diff] [blame] |
Add 'static' and 'const' qualifiers to some arrays of strings. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@186314 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/StaticAnalyzer/Checkers/MallocChecker.cpp b/lib/StaticAnalyzer/Checkers/MallocChecker.cpp index 1229a32..c357a66 100644 --- a/lib/StaticAnalyzer/Checkers/MallocChecker.cpp +++ b/lib/StaticAnalyzer/Checkers/MallocChecker.cpp
@@ -100,7 +100,7 @@ } void dump(raw_ostream &OS) const { - static const char *Table[] = { + static const char *const Table[] = { "Allocated", "Released", "Relinquished"