summaryrefslogtreecommitdiffstats
path: root/clang/lib
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
commit3fefedb24c4e5f3710c71ba03b2091d0aec830c1 (patch)
treee4964659f13c9b92490bb87858eb8d68de87cd72 /clang/lib
parent8838d793b7c49f09017f5a88d66ed419c2367e2b (diff)
downloadbcm5719-llvm-3fefedb24c4e5f3710c71ba03b2091d0aec830c1.tar.gz
bcm5719-llvm-3fefedb24c4e5f3710c71ba03b2091d0aec830c1.zip
Switch from constexpr to const char *const
Responding to Richard Smith's review of r205037. llvm-svn: 206008
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/CodeGen/CodeGenPGO.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenPGO.cpp b/clang/lib/CodeGen/CodeGenPGO.cpp
index c8704e80f56..8c3340a9d3b 100644
--- a/clang/lib/CodeGen/CodeGenPGO.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud