diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2020-06-23 07:14:33 -0400 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2020-06-23 07:14:33 -0400 |
commit | 8a9311940a26372dab6706edfd07288667394cfe (patch) | |
tree | d41774cc6951c30bdab17e1ed76b499e4015e6b5 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 121e585ec8aa5f973ea56807ed0a73f13ab4937e (diff) | |
download | llvm-8a9311940a26372dab6706edfd07288667394cfe.zip llvm-8a9311940a26372dab6706edfd07288667394cfe.tar.gz llvm-8a9311940a26372dab6706edfd07288667394cfe.tar.bz2 |
Handle invalid types in the nullPointerConstant AST matcher
Currently, using the nullPointerConstant AST matcher can lead to
assertions in situations where a node to be matched does not have a
valid type associated with it, such as a ParenListExpr. This patch
addresses that by saying such nodes cannot be a null pointer constant.
This addresses PR46353.
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions