aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetPassConfig.cpp
diff options
context:
space:
mode:
authorVolodymyr Sapsai <vsapsai@apple.com>2023-05-25 18:09:11 -0700
committerVolodymyr Sapsai <vsapsai@apple.com>2023-06-09 17:09:28 -0700
commit2e16df352c7acb910313c80ac90b650ad9c14a3d (patch)
tree3a82d8918779ff2ec4ce2c15fe41905d6aa5b667 /llvm/lib/CodeGen/TargetPassConfig.cpp
parent261b693afd82b7dc935bbbafa44b16f591a38daf (diff)
downloadllvm-2e16df352c7acb910313c80ac90b650ad9c14a3d.zip
llvm-2e16df352c7acb910313c80ac90b650ad9c14a3d.tar.gz
llvm-2e16df352c7acb910313c80ac90b650ad9c14a3d.tar.bz2
[ASTStructuralEquivalence] Fix crash when ObjCCategoryDecl doesn't have corresponding ObjCInterfaceDecl.
When this happens, it is invalid code and there is diagnostic ``` error: cannot find interface declaration for '...' ``` But clang shouldn't crash even if code is invalid. Though subsequent diagnostic can be imperfect because without ObjCInterfaceDecl we don't have a type for error messages. rdar://108818430 Differential Revision: https://reviews.llvm.org/D151523
Diffstat (limited to 'llvm/lib/CodeGen/TargetPassConfig.cpp')
0 files changed, 0 insertions, 0 deletions