diff options
author | Nick Lewycky <nicholas@mxc.ca> | 2012-01-23 00:05:17 +0000 |
---|---|---|
committer | Nick Lewycky <nicholas@mxc.ca> | 2012-01-23 00:05:17 +0000 |
commit | c31ceda7d9a2ad0b7bef49bb4872cf9a8f11d576 (patch) | |
tree | 6ee64a18b69b2eb43f80d66075fe3a94595eda2f /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 0b7ad76bd0a087ab7564b5ac7817d3ecc4914878 (diff) | |
download | llvm-c31ceda7d9a2ad0b7bef49bb4872cf9a8f11d576.zip llvm-c31ceda7d9a2ad0b7bef49bb4872cf9a8f11d576.tar.gz llvm-c31ceda7d9a2ad0b7bef49bb4872cf9a8f11d576.tar.bz2 |
Make Value::isDereferenceablePointer() handle unreachable code blocks. (This
returns false in the event the computation feeding into the pointer is
unreachable, which maybe ought to be true -- but this is at least consistent
with undef->isDereferenceablePointer().) Fixes PR11825!
llvm-svn: 148671
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions