Skip to content

Commit

Permalink
fix build error after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Yusra Syeda committed Oct 30, 2023
1 parent c0b35d5 commit 1768151
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/CodeGen/CodeGenModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -985,7 +985,7 @@ void CodeGenModule::Release() {
uint32_t(CLANG_VERSION_PATCHLEVEL));

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

0 comments on commit 1768151

Please sign in to comment.