diff options
author | Adam Balogh <adam.balogh@ericsson.com> | 2021-03-10 12:41:01 +0100 |
---|---|---|
committer | Balazs Benics <balazsbenics@sigmatechnology.se> | 2021-03-10 12:42:24 +0100 |
commit | bcc662484a95c95f7d193e6a791fc5d1c4a2c74f (patch) | |
tree | b64b47ea163712213c8d04bb206f8de4fe51a2d2 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 0e0ea9ffb8027b2e785b383d66b06bbd92dc7a46 (diff) | |
download | llvm-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