Skip to content

Commit 7aaa468

Browse files
committed
[upstreaming] Revert changes to ClangASTContext::IsObjCObjectOrInterfaceType
The check if type is valid has been upstreamed into IsClangType.
1 parent 7d6c5cb commit 7aaa468

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
@@ -3627,7 +3627,7 @@ bool ClangASTContext::IsObjCClassType(const CompilerType &type) {
36273627
}
36283628

36293629
bool ClangASTContext::IsObjCObjectOrInterfaceType(const CompilerType &type) {
3630-
if (type && ClangUtil::IsClangType(type))
3630+
if (ClangUtil::IsClangType(type))
36313631
return ClangUtil::GetCanonicalQualType(type)->isObjCObjectOrInterfaceType();
36323632
return false;
36333633
}

0 commit comments

Comments
 (0)