Lit C++11 Compatibility Patch #6
Li, Charles via cfe-commits
cfe-commits at lists.llvm.org
Mon Dec 14 09:44:45 PST 2015
Hello Everyone,
Here is the 6th Lit tests C++11 compatibility patch. It is super simple this time.
17 OpenMP tests have their expected diagnostics updated. The changes to each file are identical.
C++11 has expanded diagnostics when an expression is not an integral constant expression.
C++11 has different Error messages from C++98 (3 instances)
C++98: error: expression is not an integral constant expression
C++11: error: integral constant expression must have integral or unscoped enumeration type, not 'char *'
C++11 has added the following note to pre-existing Error message (4 instances)
Pre-existing: error: expression is not an integral constant expression
C++11: note: non-constexpr function 'foobool' cannot be used in a constant expression
C++11: note: declared here
Here is a list of the 17 files in this patch.
test/OpenMP/for_collapse_messages.cpp
test/OpenMP/for_ordered_clause.cpp
test/OpenMP/for_simd_collapse_messages.cpp
test/OpenMP/for_simd_safelen_messages.cpp
test/OpenMP/for_simd_simdlen_messages.cpp
test/OpenMP/parallel_for_collapse_messages.cpp
test/OpenMP/parallel_for_ordered_messages.cpp
test/OpenMP/parallel_for_simd_collapse_messages.cpp
test/OpenMP/parallel_for_simd_safelen_messages.cpp
test/OpenMP/parallel_for_simd_simdlen_messages.cpp
test/OpenMP/simd_collapse_messages.cpp
test/OpenMP/simd_safelen_messages.cpp
test/OpenMP/simd_simdlen_messages.cpp
test/OpenMP/taskloop_collapse_messages.cpp
test/OpenMP/taskloop_simd_collapse_messages.cpp
test/OpenMP/taskloop_simd_safelen_messages.cpp
test/OpenMP/taskloop_simd_simdlen_messages.cpp
Cheers,
Charles Li
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151214/130265c6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 600.patch
Type: application/octet-stream
Size: 81410 bytes
Desc: 600.patch
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151214/130265c6/attachment-0001.obj>
More information about the cfe-commits
mailing list