[all-commits] [llvm/llvm-project] 656c5d: [clang][llvm][NFC] Change misexpect's tolerance op...
Paul Kirth via All-commits
all-commits at lists.llvm.org
Wed Aug 17 07:39:07 PDT 2022
Author: Paul Kirth <paulkirth at google.com>
Date: 2022-08-17 (Wed, 17 Aug 2022)
[clang][llvm][NFC] Change misexpect's tolerance option to be 32-bit
In D131869 we noticed that we jump through some hoops because we parse the
tolerance option used in MisExpect.cpp into a 64-bit integer. This is
unnecessary, since the value can only be in the range [0, 100).
This patch changes the underlying type to be 32-bit from where it is
parsed in Clang through to it's use in LLVM.
Reviewed By: jloser
Differential Revision: https://reviews.llvm.org/D131935
More information about the All-commits