summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenPGO.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-04-11 00:43:16 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2014-04-11 00:43:16 +0000
commit8f71cfc3dfa5a02ece0b8db5527c6b93bb5dc2af (patch)
treeeac5e81ab32bda05f9208cd679fc99ecb05ae29e /lib/CodeGen/CodeGenPGO.cpp
parent854cecb0a497cd10ee4abb3cf43b2d24d874b4f9 (diff)
downloadclang-8f71cfc3dfa5a02ece0b8db5527c6b93bb5dc2af.tar.gz
clang-8f71cfc3dfa5a02ece0b8db5527c6b93bb5dc2af.tar.bz2
clang-8f71cfc3dfa5a02ece0b8db5527c6b93bb5dc2af.tar.xz
Switch from constexpr to const char *const
Responding to Richard Smith's review of r205037. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206008 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenPGO.cpp')
-rw-r--r--lib/CodeGen/CodeGenPGO.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenPGO.cpp b/lib/CodeGen/CodeGenPGO.cpp
index c8704e80f5..8c3340a9d3 100644
--- a/lib/CodeGen/CodeGenPGO.cpp
+++ b/lib/CodeGen/CodeGenPGO.cpp
@@ -814,8 +814,8 @@ namespace {
}
static void emitRuntimeHook(CodeGenModule &CGM) {
- LLVM_CONSTEXPR const char *RuntimeVarName = "__llvm_profile_runtime";
- LLVM_CONSTEXPR const char *RuntimeUserName = "__llvm_profile_runtime_user";
+ const char *const RuntimeVarName = "__llvm_profile_runtime";
+ const char *const RuntimeUserName = "__llvm_profile_runtime_user";
if (CGM.getModule().getGlobalVariable(RuntimeVarName))
return;