aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/BinaryStreamWriter.cpp
diff options
context:
space:
mode:
authorJulian Schmidt <git.julian.schmidt@gmail.com>2024-05-15 14:52:32 +0200
committerGitHub <noreply@github.com>2024-05-15 14:52:32 +0200
commit932f0de43a9e334e161a69a50bd6b01cd51e238e (patch)
treec2f92a3187f6ca17c9f4c76edffc47129fa205e2 /llvm/lib/Support/BinaryStreamWriter.cpp
parent89873694654a635cabdd861ddebd61a041d8342f (diff)
downloadllvm-932f0de43a9e334e161a69a50bd6b01cd51e238e.zip
llvm-932f0de43a9e334e161a69a50bd6b01cd51e238e.tar.gz
llvm-932f0de43a9e334e161a69a50bd6b01cd51e238e.tar.bz2
[clang-tidy] fix crash due to assumed callee in min-max-use-initializer-list (#91992)
Previously, the call to `findArgs` for a `CallExpr` inside of a `min` or `max` call would call `findArgs` before checking if the argument is a call to `min` or `max`, which is what `findArgs` is expecting. The fix moves the name checking before the call to `findArgs`, such that only a `min` or `max` function call is used as an argument. Fixes #91982 Fixes #92249
Diffstat (limited to 'llvm/lib/Support/BinaryStreamWriter.cpp')
0 files changed, 0 insertions, 0 deletions