Skip to content

Commit 7f9d36e

Browse files
committed
Use cheaper, equivalent predicate. (NFC)
1 parent f7e9d81 commit 7f9d36e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserClang.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -906,7 +906,7 @@ TypeSP DWARFASTParserClang::ParseTypeFromDWARF(const SymbolContext &sc,
906906
if (class_type) {
907907
bool alternate_defn = false;
908908
if (class_type->GetID() != decl_ctx_die.GetID() ||
909-
GetContainingClangModuleDIE(decl_ctx_die)) {
909+
IsClangModuleFwdDecl(decl_ctx_die)) {
910910
alternate_defn = true;
911911

912912
// We uniqued the parent class of this function to another

0 commit comments

Comments
 (0)