[all-commits] [llvm/llvm-project] 6c153e: [clang-tidy] Fix false positives with template in ...
flovent via All-commits
all-commits at lists.llvm.org
Sun Jul 6 05:06:40 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6c153e50f8b23dbd422c3f9eedf65344839bbbb1
https://github.com/llvm/llvm-project/commit/6c153e50f8b23dbd422c3f9eedf65344839bbbb1
Author: flovent <flbven at protonmail.com>
Date: 2025-07-06 (Sun, 06 Jul 2025)
Changed paths:
M clang-tools-extra/clang-tidy/misc/UnconventionalAssignOperatorCheck.cpp
M clang-tools-extra/docs/ReleaseNotes.rst
M clang-tools-extra/test/clang-tidy/checkers/misc/unconventional-assign-operator.cpp
Log Message:
-----------
[clang-tidy] Fix false positives with template in `misc-unconventional-assign-operator` check (#143292)
Fix false positives when copy assignment operator function in a template
class returns the result of another assignment to `*this`, this check
doesn't consider this situation that there will be a `BinaryOperator`
for assignment rather than `CXXOperatorCallExpr` since `this`'s type is
dependent.
Closes #143237.
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