Author: Adrian Prantl Date: 2019-11-13T14:16:40-08:00 New Revision: 7f9d36e2db05a7e4646972a88f5b6946c2f343e3
URL: https://github.com/llvm/llvm-project/commit/7f9d36e2db05a7e4646972a88f5b6946c2f343e3 DIFF: https://github.com/llvm/llvm-project/commit/7f9d36e2db05a7e4646972a88f5b6946c2f343e3.diff LOG: Use cheaper, equivalent predicate. (NFC) Added: Modified: lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp Removed: ################################################################################ diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp index 7b8498303d22..c9dab6585280 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp @@ -906,7 +906,7 @@ TypeSP DWARFASTParserClang::ParseTypeFromDWARF(const SymbolContext &sc, if (class_type) { bool alternate_defn = false; if (class_type->GetID() != decl_ctx_die.GetID() || - GetContainingClangModuleDIE(decl_ctx_die)) { + IsClangModuleFwdDecl(decl_ctx_die)) { alternate_defn = true; // We uniqued the parent class of this function to another _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits