Skip to content

Commit 548d158

Browse files
committed
[upstreaming] Revert changes to ClangASTContext::IsObjCObjectOrInterfaceType
The check if type is valid has been upstreamed into IsClangType.
1 parent 535d747 commit 548d158

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/source/Symbol/ClangASTContext.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3664,7 +3664,7 @@ bool ClangASTContext::IsObjCClassType(const CompilerType &type) {
36643664
}
36653665

36663666
bool ClangASTContext::IsObjCObjectOrInterfaceType(const CompilerType &type) {
3667-
if (type && ClangUtil::IsClangType(type))
3667+
if (ClangUtil::IsClangType(type))
36683668
return ClangUtil::GetCanonicalQualType(type)->isObjCObjectOrInterfaceType();
36693669
return false;
36703670
}

0 commit comments

Comments
 (0)