summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
index fbf35b8be09..7a54f4588fe 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp
@@ -224,7 +224,7 @@ static void CompleteExternalTagDeclType(ClangASTImporter &ast_importer,
die.GetDWARF()->GetObjectFile()->GetModule()->ReportError(
"Unable to complete the Decl context for DIE '%s' at offset "
"0x%8.8x.\nPlease file a bug report.",
- type_name_cstr ?: "", die.GetOffset());
+ type_name_cstr ? type_name_cstr : "", die.GetOffset());
// We need to make the type look complete otherwise, we
// might crash in Clang when adding children.
if (ClangASTContext::StartTagDeclarationDefinition(type))
OpenPOWER on IntegriCloud