aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Format/WhitespaceManager.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-10-24 11:04:22 +0200
committerNikita Popov <npopov@redhat.com>2023-10-24 11:05:42 +0200
commit97f1db2fdd5810e15d152167e9f1e29159a8cee9 (patch)
treedaabc8e11b17a7e96462acdaf4e2900d4a45f5c6 /clang/lib/Format/WhitespaceManager.cpp
parent1e3a344a6bab9dbe3a767368b878f20e29c57a2a (diff)
downloadllvm-97f1db2fdd5810e15d152167e9f1e29159a8cee9.zip
llvm-97f1db2fdd5810e15d152167e9f1e29159a8cee9.tar.gz
llvm-97f1db2fdd5810e15d152167e9f1e29159a8cee9.tar.bz2
[LoopIdimo] Use tryZExtValue() instead of getZExtValue()
To avoid an assertion for large BECounts. I also suspect that this code is missing an overflow check. Fixes https://github.com/llvm/llvm-project/issues/70008.
Diffstat (limited to 'clang/lib/Format/WhitespaceManager.cpp')
0 files changed, 0 insertions, 0 deletions