diff options
author | Sebastian Pop <spop@codeaurora.org> | 2014-05-29 19:44:05 +0000 |
---|---|---|
committer | Sebastian Pop <spop@codeaurora.org> | 2014-05-29 19:44:05 +0000 |
commit | 5352408169d6b9927bc7fffd590fe8850eb93bb6 (patch) | |
tree | b5ebb322c9a1901ba40b584b7a1022fab6bb3d6c /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | bdd2b3c7c52def557019b6513fcc3027136aa170 (diff) | |
download | llvm-5352408169d6b9927bc7fffd590fe8850eb93bb6.zip llvm-5352408169d6b9927bc7fffd590fe8850eb93bb6.tar.gz llvm-5352408169d6b9927bc7fffd590fe8850eb93bb6.tar.bz2 |
fail to find dimensions when ElementSize is nullptr
when ScalarEvolution::getElementSize returns nullptr it is safe to early return
in ScalarEvolution::findArrayDimensions such that we avoid later problems when
we try to divide the terms by ElementSize.
llvm-svn: 209837
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions