[all-commits] [llvm/llvm-project] c53023: [clang:diagnostics] Turning off warn_self_assignme...
Xiang Li via All-commits
all-commits at lists.llvm.org
Fri Apr 7 15:38:43 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c5302325b2a62d77cf13dd16cd5c19141862fed0
https://github.com/llvm/llvm-project/commit/c5302325b2a62d77cf13dd16cd5c19141862fed0
Author: Xiang Li <python3kgae at outlook.com>
Date: 2023-04-07 (Fri, 07 Apr 2023)
Changed paths:
M clang/lib/Sema/SemaExpr.cpp
M clang/test/SemaCXX/warn-self-assign-overloaded.cpp
Log Message:
-----------
[clang:diagnostics] Turning off warn_self_assignment_overloaded for user-defined compound assignments
Fixes 42469 https://github.com/llvm/llvm-project/issues/42469
Only check self assignment on BO_Assign when BuildOverloadedBinOp.
More information about the All-commits
mailing list