[Lldb-commits] [lldb] 7f9d36e - Use cheaper, equivalent predicate. (NFC)
Adrian Prantl via lldb-commits
lldb-commits at lists.llvm.org
Wed Nov 13 14:16:48 PST 2019
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
More information about the lldb-commits
mailing list