We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0b35d5 commit 1768151Copy full SHA for 1768151
clang/lib/CodeGen/CodeGenModule.cpp
@@ -985,7 +985,7 @@ void CodeGenModule::Release() {
985
uint32_t(CLANG_VERSION_PATCHLEVEL));
986
987
// Record the language because we need it for the PPA2.
988
- const char *lang_str = languageToString(
+ StringRef lang_str = languageToString(
989
LangStandard::getLangStandardForKind(LangOpts.LangStd).Language);
990
getModule().addModuleFlag(llvm::Module::Error, "zos_cu_language",
991
llvm::MDString::get(VMContext, lang_str));
0 commit comments