]> granicus.if.org Git - clang/commitdiff
Switch from constexpr to const char *const
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 11 Apr 2014 00:43:16 +0000 (00:43 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 11 Apr 2014 00:43:16 +0000 (00:43 +0000)
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

index c8704e80f56fbec5d1bbdb9ef254bc67078ced7c..8c3340a9d3bd8ae626dc7a633fce4caaecb173e2 100644 (file)
@@ -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;