[all-commits] [llvm/llvm-project] e8a163: [llvm] Cleanup edit_distance short circuiting
serge-sans-paille via All-commits
all-commits at lists.llvm.org
Thu Jan 19 14:21:01 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e8a163dc03e6913360beb305620104ba129c081c
https://github.com/llvm/llvm-project/commit/e8a163dc03e6913360beb305620104ba129c081c
Author: serge-sans-paille <sguelton at mozilla.com>
Date: 2023-01-19 (Thu, 19 Jan 2023)
Changed paths:
M llvm/include/llvm/Option/OptTable.h
M llvm/lib/Option/OptTable.cpp
Log Message:
-----------
[llvm] Cleanup edit_distance short circuiting
Also prevent integer overflow if MaximumDistance == UINT_MAX.
This is a follow-up to 6ad1b4095172373590134afff19a7fbad9d7889d
More information about the All-commits
mailing list