diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-03-28 19:27:37 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2014-03-28 19:27:37 +0000 |
commit | 966e32066401d5fe3871a9b70cf8354f1f71c717 (patch) | |
tree | 3675083ab504bb67408f03a4e969cfa7b770fa62 /clang/lib/CodeGen/CodeGenPGO.cpp | |
parent | da52f8c28cf16deab48f6b638b106b4362ecba70 (diff) | |
download | bcm5719-llvm-966e32066401d5fe3871a9b70cf8354f1f71c717.tar.gz bcm5719-llvm-966e32066401d5fe3871a9b70cf8354f1f71c717.zip |
Use constexpr again, this time portably
Responding to Justin's review of r205025.
llvm-svn: 205037
Diffstat (limited to 'clang/lib/CodeGen/CodeGenPGO.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenPGO.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenPGO.cpp b/clang/lib/CodeGen/CodeGenPGO.cpp index 81af8cde82c..ac6b7bca40f 100644 --- a/clang/lib/CodeGen/CodeGenPGO.cpp +++ b/clang/lib/CodeGen/CodeGenPGO.cpp @@ -815,8 +815,8 @@ namespace { } static void emitRuntimeHook(CodeGenModule &CGM) { - const char *RuntimeVarName = "__llvm_profile_runtime"; - const char *RuntimeUserName = "__llvm_profile_runtime_user"; + LLVM_CONSTEXPR const char *RuntimeVarName = "__llvm_profile_runtime"; + LLVM_CONSTEXPR const char *RuntimeUserName = "__llvm_profile_runtime_user"; if (CGM.getModule().getGlobalVariable(RuntimeVarName)) return; |