aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/AssumptionCache.cpp
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-04-26 15:40:21 +0000
committerVedant Kumar <vsk@apple.com>2017-04-26 15:40:21 +0000
commit25b6a7db2fa59eacca01da41b1c9521b0da74fc4 (patch)
treee7ece74b579f2e405686d707e80408f3c4320ef7 /llvm/lib/Analysis/AssumptionCache.cpp
parent7f5b3d6fc83e4f4c2aa64967ba9f45a361b67502 (diff)
downloadllvm-25b6a7db2fa59eacca01da41b1c9521b0da74fc4.zip
llvm-25b6a7db2fa59eacca01da41b1c9521b0da74fc4.tar.gz
llvm-25b6a7db2fa59eacca01da41b1c9521b0da74fc4.tar.bz2
[Sema] Avoid using a null type pointer (fixes PR32750)
isMicrosoftMissingTypename() uses a Type pointer without first checking that it's non-null. PR32750 reports a case where the pointer is in fact null. This patch adds in a defensive check and a regression test. Differential Revision: https://reviews.llvm.org/D32519 llvm-svn: 301420
Diffstat (limited to 'llvm/lib/Analysis/AssumptionCache.cpp')
0 files changed, 0 insertions, 0 deletions