aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorAdam Balogh <adam.balogh@ericsson.com>2021-03-10 12:41:01 +0100
committerBalazs Benics <balazsbenics@sigmatechnology.se>2021-03-10 12:42:24 +0100
commitbcc662484a95c95f7d193e6a791fc5d1c4a2c74f (patch)
treeb64b47ea163712213c8d04bb206f8de4fe51a2d2 /flang/lib/Frontend/CompilerInvocation.cpp
parent0e0ea9ffb8027b2e785b383d66b06bbd92dc7a46 (diff)
downloadllvm-bcc662484a95c95f7d193e6a791fc5d1c4a2c74f.zip
llvm-bcc662484a95c95f7d193e6a791fc5d1c4a2c74f.tar.gz
llvm-bcc662484a95c95f7d193e6a791fc5d1c4a2c74f.tar.bz2
[analyzer] Crash fix for alpha.cplusplus.IteratorRange
If the non-iterator side of an iterator operation `+`, `+=`, `-` or `-=` is `UndefinedVal` an assertions happens. This small fix prevents this. Patch by Adam Balogh. Reviewed By: NoQ Differential Revision: https://reviews.llvm.org/D85424
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions