Skip to content

Commit 1768151

Browse files
author
Yusra Syeda
committed
fix build error after rebase
1 parent c0b35d5 commit 1768151

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CodeGen/CodeGenModule.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -985,7 +985,7 @@ void CodeGenModule::Release() {
985985
uint32_t(CLANG_VERSION_PATCHLEVEL));
986986

987987
// Record the language because we need it for the PPA2.
988-
const char *lang_str = languageToString(
988+
StringRef lang_str = languageToString(
989989
LangStandard::getLangStandardForKind(LangOpts.LangStd).Language);
990990
getModule().addModuleFlag(llvm::Module::Error, "zos_cu_language",
991991
llvm::MDString::get(VMContext, lang_str));

0 commit comments

Comments
 (0)