[PATCH] D45685: [Sema] Add -Wtest global flag that silences -Wself-assign for overloaded operators.
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 16 06:44:07 PDT 2018
lebedev.ri updated this revision to Diff 142627.
lebedev.ri added a comment.
- Don't mis-spell the name of the flag.
FIXME: So do we want it to be `-Wtests`, `-Wtest`, or we really want it to be `-wtest` ?
Repository:
rC Clang
https://reviews.llvm.org/D45685
Files:
docs/ReleaseNotes.rst
docs/UsersManual.rst
include/clang/AST/ASTDiagnostic.h
include/clang/AST/CommentDiagnostic.h
include/clang/Basic/Diagnostic.h
include/clang/Basic/Diagnostic.td
include/clang/Basic/DiagnosticIDs.h
include/clang/Basic/DiagnosticSemaKinds.td
include/clang/CrossTU/CrossTUDiagnostic.h
include/clang/Driver/DriverDiagnostic.h
include/clang/Frontend/FrontendDiagnostic.h
include/clang/Lex/LexDiagnostic.h
include/clang/Parse/ParseDiagnostic.h
include/clang/Sema/SemaDiagnostic.h
include/clang/Serialization/SerializationDiagnostic.h
include/clang/Tooling/Refactoring/RefactoringDiagnostic.h
lib/Basic/DiagnosticIDs.cpp
lib/Basic/Warnings.cpp
lib/Sema/SemaExpr.cpp
test/Sema/warn-self-assign-builtin-warn-tests.c
test/SemaCXX/warn-self-assign-builtin-warn-tests.cpp
test/SemaCXX/warn-self-assign-field-builtin-warn-tests.cpp
test/SemaCXX/warn-self-assign-field-overloaded-warn-tests.cpp
test/SemaCXX/warn-self-assign-overloaded-warn-tests.cpp
tools/diagtool/DiagnosticNames.cpp
utils/TableGen/ClangDiagnosticsEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45685.142627.patch
Type: text/x-patch
Size: 21517 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180416/1049f57d/attachment-0001.bin>
More information about the cfe-commits
mailing list