r206008 - Switch from constexpr to const char *const
Duncan P. N. Exon Smith
dexonsmith at apple.com
Thu Apr 10 17:43:16 PDT 2014
Author: dexonsmith
Date: Thu Apr 10 19:43:16 2014
New Revision: 206008
URL: http://llvm.org/viewvc/llvm-project?rev=206008&view=rev
Log:
Switch from constexpr to const char *const
Responding to Richard Smith's review of r205037.
Modified:
cfe/trunk/lib/CodeGen/CodeGenPGO.cpp
Modified: cfe/trunk/lib/CodeGen/CodeGenPGO.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CodeGenPGO.cpp?rev=206008&r1=206007&r2=206008&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/CodeGenPGO.cpp (original)
+++ cfe/trunk/lib/CodeGen/CodeGenPGO.cpp Thu Apr 10 19:43:16 2014
@@ -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;
More information about the cfe-commits
mailing list