aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorSebastian Pop <spop@codeaurora.org>2014-05-29 19:44:05 +0000
committerSebastian Pop <spop@codeaurora.org>2014-05-29 19:44:05 +0000
commit5352408169d6b9927bc7fffd590fe8850eb93bb6 (patch)
treeb5ebb322c9a1901ba40b584b7a1022fab6bb3d6c /clang/lib/Frontend/CompilerInvocation.cpp
parentbdd2b3c7c52def557019b6513fcc3027136aa170 (diff)
downloadllvm-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