From: Duncan P. N. Exon Smith Date: Fri, 11 Apr 2014 00:43:16 +0000 (+0000) Subject: Switch from constexpr to const char *const X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8f71cfc3dfa5a02ece0b8db5527c6b93bb5dc2af;p=clang 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 --- 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;