aboutsummaryrefslogtreecommitdiffstats
path: root/lib/IRReader
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/IRReader
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/IRReader')
-rw-r--r--lib/IRReader/IRReader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/IRReader/IRReader.cpp b/lib/IRReader/IRReader.cpp
index cf859da..656fe18 100644
--- a/lib/IRReader/IRReader.cpp
+++ b/lib/IRReader/IRReader.cpp
@@ -22,8 +22,8 @@ namespace llvm {
extern bool TimePassesIsEnabled;
}
-static const char *TimeIRParsingGroupName = "LLVM IR Parsing";
-static const char *TimeIRParsingName = "Parse IR";
+static const char *const TimeIRParsingGroupName = "LLVM IR Parsing";
+static const char *const TimeIRParsingName = "Parse IR";
Module *llvm::getLazyIRModule(MemoryBuffer *Buffer, SMDiagnostic &Err,