[Lldb-commits] [lldb] [lldb][DWARFASTParserClang] Adjust language type for conflicting Objective-C++ forward declarations (PR #130768)
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Tue Mar 11 08:37:00 PDT 2025
================
@@ -1810,6 +1845,9 @@ DWARFASTParserClang::ParseStructureLikeDIE(const SymbolContext &sc,
}
if (attrs.is_forward_declaration) {
+ if (IsCppForwardDeclObjC(*dwarf, attrs))
+ attrs.class_language = eLanguageTypeObjC_plus_plus;
----------------
adrian-prantl wrote:
Does that mean we do full global search for every C++ fwddecl we encounter?
https://github.com/llvm/llvm-project/pull/130768
More information about the lldb-commits
mailing list