SuccessChanges

Summary

  1. Implement P1301R4, which allows specifying an optional message on the [[nodiscard]] attribute. This also bumps the attribute feature test value and introduces the notion of a C++2a extension warning.
Revision 366626 by aaronballman:
Implement P1301R4, which allows specifying an optional message on the [[nodiscard]] attribute.

This also bumps the attribute feature test value and introduces the notion of a C++2a extension warning.
Change TypePath in RepositoryPath in Workspace
The file was modified/cfe/trunk/include/clang/Basic/Attr.td (diff)clang.src/include/clang/Basic/Attr.td
The file was modified/cfe/trunk/include/clang/Basic/AttrDocs.td (diff)clang.src/include/clang/Basic/AttrDocs.td
The file was modified/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (diff)clang.src/include/clang/Basic/DiagnosticSemaKinds.td
The file was modified/cfe/trunk/lib/Sema/SemaDeclAttr.cpp (diff)clang.src/lib/Sema/SemaDeclAttr.cpp
The file was modified/cfe/trunk/lib/Sema/SemaStmt.cpp (diff)clang.src/lib/Sema/SemaStmt.cpp
The file was modified/cfe/trunk/test/CXX/dcl.dcl/dcl.attr/dcl.attr.nodiscard/p1.cpp (diff)clang.src/test/CXX/dcl.dcl/dcl.attr/dcl.attr.nodiscard/p1.cpp
The file was modified/cfe/trunk/test/CXX/dcl.dcl/dcl.attr/dcl.attr.nodiscard/p2.cpp (diff)clang.src/test/CXX/dcl.dcl/dcl.attr/dcl.attr.nodiscard/p2.cpp
The file was modified/cfe/trunk/test/Preprocessor/has_attribute.cpp (diff)clang.src/test/Preprocessor/has_attribute.cpp
The file was modified/cfe/trunk/test/Sema/c2x-nodiscard.c (diff)clang.src/test/Sema/c2x-nodiscard.c
The file was modified/cfe/trunk/test/SemaCXX/cxx11-attr-print.cpp (diff)clang.src/test/SemaCXX/cxx11-attr-print.cpp