diff options
author | Chris Hamilton <Chris.Hamilton@ericsson.com> | 2021-04-22 15:39:36 -0500 |
---|---|---|
committer | eahcmrh <chris.hamilton@ericsson.com> | 2021-04-23 12:07:14 -0500 |
commit | cae3b70cebc1b7b762a8b466cafca2d4189e72a7 (patch) | |
tree | 8830956453b29704c18b780d126bcbed6af93b7b /lldb/packages/Python/lldbsuite/test/lldbpexpect.py | |
parent | 10b781fb033ee8d8a02e1050976b3832ad50542a (diff) | |
download | llvm-cae3b70cebc1b7b762a8b466cafca2d4189e72a7.zip llvm-cae3b70cebc1b7b762a8b466cafca2d4189e72a7.tar.gz llvm-cae3b70cebc1b7b762a8b466cafca2d4189e72a7.tar.bz2 |
[PR49761] Fix variadic arg handling in matcher
Mishandling of variadic arguments in a function call caused a crash
(runtime assert fail) in bugprone-infinite-loop tidy checker. Fix
is to limit argument matching to the lesser of the number of variadic
params in the prototype or the number of actual args in the call.
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D101108
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbpexpect.py')
0 files changed, 0 insertions, 0 deletions