aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Object
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2013-07-16 01:17:10 +0000
committerCraig Topper <craig.topper@gmail.com>2013-07-16 01:17:10 +0000
commit4172a8abbabea2359d91bb07101166565127d798 (patch)
treeebf978d23cf03cff7db51c310627ebca195a54c6 /lib/Object
parent311dbb8efea7a2778b1b3f89e05ec14ceba6408b (diff)
downloadexternal_llvm-4172a8abbabea2359d91bb07101166565127d798.zip
external_llvm-4172a8abbabea2359d91bb07101166565127d798.tar.gz
external_llvm-4172a8abbabea2359d91bb07101166565127d798.tar.bz2
Add 'const' qualifiers to static const char* variables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186371 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Object')
-rw-r--r--lib/Object/Archive.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Object/Archive.cpp b/lib/Object/Archive.cpp
index 719d104..c6cf219 100644
--- a/lib/Object/Archive.cpp
+++ b/lib/Object/Archive.cpp
@@ -21,7 +21,7 @@
using namespace llvm;
using namespace object;
-static const char *Magic = "!<arch>\n";
+static const char *const Magic = "!<arch>\n";
void Archive::anchor() { }