diff options
| author | Joel E. Denny <jdenny.ornl@gmail.com> | 2024-09-04 18:43:54 -0400 |
|---|---|---|
| committer | Joel E. Denny <jdenny.ornl@gmail.com> | 2024-09-04 18:43:54 -0400 |
| commit | 7c4eb60c9509c3a750961eac2dbcaad369d911f2 (patch) | |
| tree | 2db24d8e5f5d4a9c516c5efd07b675829d026edb /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 9171881d64e4834de7ad7c9807607ce6bc5167a9 (diff) | |
[Clang] Fix CLANG_TOOLCHAIN_PROGRAM_TIMEOUT logic
PR #102521, which landed as 1ea0865dd6fa, implemented
`CLANG_TOOLCHAIN_PROGRAM_TIMEOUT`, but the logic is obviously wrong.
If the user-specified value is negative, it should become zero to mean
infinite. Otherwise, it should be left as is. Thus, use `std::max`
not `std::min`. This obvious fixup doesn't seem worth another pull
request.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
