Skip to content

Commit 2dd9332

Browse files
authored
Merge pull request #251 from Teemperor/RevertIsObjCObjectOrInterfaceType
[upstreaming] Revert changes to ClangASTContext::IsObjCObjectOrInterf…
2 parents fa816c9 + 7aaa468 commit 2dd9332

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)