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

Attachment: 600.patch
Description: 600.patch

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to