[PATCH] D20710: Lit C++11 Compatibility Patch #9
Charles Li via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 16 11:17:22 PST 2016
tigerleapgorge updated this revision to Diff 81776.
tigerleapgorge added a comment.
Lit C++11 compatibility patch #9
Update patch again to expect for latest Trunk C++11 diagnostics.
Tests in CXX directory are already passing in C++11, so they are removed from this patch.
Of the remaining tests, 4 tests are modified to accommodate for changes is diagnostics.
SemaCXX/implicit-virtual-member-functions.cpp
Additional Note message in latest Trunk (3 instances).
Note: virtual destructor requires an unambiguous, accessible 'operator delete'
SemaCXX/new-delete.cpp
Warning no longer exist in latest Trunk
Warning: function previously declared with an explicit exception specification redeclared with an implicit exception specification
Previous severity change (C++98 Warning to C++11 Error) has been fixed in latest Trunk.
Revert following 2 message back to Error.
Error: array size is negative
Error: array is too large (2000000000 elements)
Additional Note message (1 instance).
Note: virtual destructor requires an unambiguous, accessible 'operator delete'
SemaCXX/virtual-member-functions-key-function.cpp
Additional Note message (2 instances)
Note: virtual destructor requires an unambiguous, accessible 'operator delete'
SemaTemplate/virtual-member-functions.cpp
Additional Note message (3 instances)
Note: destructor of 'Inner' is implicitly deleted because base class 'PR7114::A' has an inaccessible destructor
Note: destructor of 'Inner' is implicitly deleted because base class 'PR7114::A' has an inaccessible destructor
Note: destructor of 'X<int>' is implicitly deleted because base class 'PR7114::A' has an inaccessible destructor
https://reviews.llvm.org/D20710
Files:
test/CodeGenCXX/debug-info-use-after-free.cpp
test/CodeGenCXX/dynamic-cast-hint.cpp
test/OpenMP/distribute_collapse_messages.cpp
test/OpenMP/ordered_messages.cpp
test/OpenMP/target_parallel_for_collapse_messages.cpp
test/OpenMP/target_parallel_for_ordered_messages.cpp
test/SemaCXX/i-c-e-cxx.cpp
test/SemaCXX/implicit-virtual-member-functions.cpp
test/SemaCXX/new-delete.cpp
test/SemaCXX/no-wchar.cpp
test/SemaCXX/virtual-member-functions-key-function.cpp
test/SemaCXX/warn-bool-conversion.cpp
test/SemaCXX/zero-length-arrays.cpp
test/SemaTemplate/instantiate-c99.cpp
test/SemaTemplate/temp_explicit.cpp
test/SemaTemplate/value-dependent-null-pointer-constant.cpp
test/SemaTemplate/virtual-member-functions.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D20710.81776.patch
Type: text/x-patch
Size: 44655 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161216/e309ff89/attachment-0001.bin>
More information about the cfe-commits
mailing list