[all-commits] [llvm/llvm-project] 54435b: [clang-tidy] Ignore implicit casts with errors in ...
Piotr Zegar via All-commits
all-commits at lists.llvm.org
Tue May 14 10:18:09 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 54435b5df32d80c68c94acf96a7565ffd3d86542
https://github.com/llvm/llvm-project/commit/54435b5df32d80c68c94acf96a7565ffd3d86542
Author: Piotr Zegar <me at piotrzegar.pl>
Date: 2024-05-14 (Tue, 14 May 2024)
Changed paths:
M clang-tools-extra/clang-tidy/bugprone/ImplicitWideningOfMultiplicationResultCheck.cpp
Log Message:
-----------
[clang-tidy] Ignore implicit casts with errors in bugprone-implicit-widening-of-multiplication-result (#92025)
When expression got errors (missing typedef) and clang-tidy is compiled
with asserts enabled, then we crash in this check on assert because type
with errors is visible as an dependent one. This is issue caused by
invalid input.
But as there is not point to crash in such case and generate additional
confusion, such expressions with errors will be now ignored.
Fixes #89515, #55293
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list