From 8f71cfc3dfa5a02ece0b8db5527c6b93bb5dc2af Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Fri, 11 Apr 2014 00:43:16 +0000 Subject: [PATCH] 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 --- lib/CodeGen/CodeGenPGO.cpp | 4 ++-- 1 file 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; -- 2.40.0