[all-commits] [llvm/llvm-project] 498c7f: [SemaObjC] Fix a crash on an invalid ternary with ...
Erik Pilkington via All-commits
all-commits at lists.llvm.org
Tue Oct 13 18:20:52 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 498c7fa48a02a5e0c12bbb90ef8c0d8468affcdd
https://github.com/llvm/llvm-project/commit/498c7fa48a02a5e0c12bbb90ef8c0d8468affcdd
Author: Erik Pilkington <erik.pilkington at gmail.com>
Date: 2020-10-13 (Tue, 13 Oct 2020)
Changed paths:
M clang/lib/Sema/SemaExprCXX.cpp
M clang/test/SemaObjCXX/arc-type-conversion.mm
Log Message:
-----------
[SemaObjC] Fix a crash on an invalid ternary with ARC pointers
FindCompositeObjCPointerType nulls out the subexpressions on error, so bail out
instead of trying to deref them.
More information about the All-commits
mailing list