Issue |
151312
|
Summary |
[Clang] -Wself-assign should be enabled by default
|
Labels |
clang:diagnostics
|
Assignees |
|
Reporter |
philnik777
|
Currently, Clang doesn't seem to enable `-Wself-assign` by default without a good reason I can see. Anything this diagnoses is almost certainly a bug. This doesn't warn on weird user-defined operators either, since there is `-Wself-assign-overloaded` for that case.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs