aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachinePipeliner.cpp
diff options
context:
space:
mode:
authorKadir Cetinkaya <kadircet@google.com>2018-10-23 13:49:37 +0000
committerKadir Cetinkaya <kadircet@google.com>2018-10-23 13:49:37 +0000
commit6d57266a8cf82b37d79dafebbd5aa81cd0897a64 (patch)
tree77125af8d457a90a4e177f42046215f323ef98c3 /llvm/lib/CodeGen/MachinePipeliner.cpp
parentd3d2a0b591e30283f85d32795fe92eaa96377292 (diff)
downloadllvm-6d57266a8cf82b37d79dafebbd5aa81cd0897a64.zip
llvm-6d57266a8cf82b37d79dafebbd5aa81cd0897a64.tar.gz
llvm-6d57266a8cf82b37d79dafebbd5aa81cd0897a64.tar.bz2
[clang] Fix a null pointer dereference.
Summary: Sometimes expression inside switch statement can be invalid, for example type might be incomplete. In those cases code were causing a null pointer dereference. This patch fixes that. Reviewers: sammccall, ioeric, hokein Reviewed By: sammccall Subscribers: arphaman, cfe-commits Differential Revision: https://reviews.llvm.org/D53561 llvm-svn: 345029
Diffstat (limited to 'llvm/lib/CodeGen/MachinePipeliner.cpp')
0 files changed, 0 insertions, 0 deletions