Second Lit tests C++11 compatibility patch: using preprocessor to filter expected-error

2015-08-17 Thread Li, Charles via cfe-commits
Hi Clang developers, We here at Sony are continuing to update the Lit tests for C++ dialects compatibility. Attached is the second patch. (As a reference, here is the link to the discussion on the previous Lit patch. http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20150727/134667.htm

RE: Second Lit tests C++11 compatibility patch: using preprocessor to filter expected-error

2015-08-17 Thread Li, Charles via cfe-commits
15 1:07 PM To: Li, Charles Cc: cfe-commits@lists.llvm.org Subject: Re: Second Lit tests C++11 compatibility patch: using preprocessor to filter expected-error On Mon, Aug 17, 2015 at 9:56 AM, Li, Charles via cfe-commits mailto:cfe-commits@lists.llvm.org>> wrote: Hi Clang developers, We here

RE: Second Lit tests C++11 compatibility patch: using preprocessor to filter expected-error

2015-08-17 Thread Li, Charles via cfe-commits
++11 compatibility patch: using preprocessor to filter expected-error On Mon, Aug 17, 2015 at 5:15 PM, Li, Charles via cfe-commits mailto:cfe-commits@lists.llvm.org>> wrote: Hi Richard and Justin, > What's the upside to this approach? AFAICT it makes the test harder to read >

RE: Second Lit tests C++11 compatibility patch: using preprocessor to filter expected-error

2015-08-18 Thread Li, Charles via cfe-commits
Of > Richard Smith > Sent: Monday, August 17, 2015 5:41 PM > To: Li, Charles > Cc: Justin Bogner; cfe-commits@lists.llvm.org > Subject: Re: Second Lit tests C++11 compatibility patch: using > preprocessor to filter expected-error > > On Mon, Aug 17, 2015 at 5:15 PM, Li,

[Tests] Making Lit Tests C++11 compatibile

2015-11-10 Thread Li, Charles via cfe-commits
Hello Clang developers, I am back again with another patch to make Clang Lit tests C++11 compatible. There are 26 tests in total. These are mainly diagnostics verifications where C++98/03 and C++11 differ. I tried to preserve as much coverage as possible. Unless otherwise stated, these tests have

Lit Test C++11 Compatibility Patch #7

2016-01-08 Thread Li, Charles via cfe-commits
Hi Everyone, I am back again with another Lit test C++11 patch. This is the 7th patch. There are 13 tests in total. CXX/class.access/class.access.dcl/p1.cpp Access declarations are deprecated in C++11. As a result, there are 4 types of diagnostics changes: For simple access declarations,

Lit test C++11 Compatibility Patch #4

2015-11-16 Thread Li, Charles via cfe-commits
Hi Everyone, Here is the forth Lit tests C++11 compatibility patch. This patch mainly added new diagnostics expected for C++11. There are 34 tests in total. They fall into 3 categories. [2 tests] New Warnings regarding storage class specifier "register"/"auto" being deprecated/not-allowed.

Lit Test C++11 compatibility patch #5

2015-11-24 Thread Li, Charles via cfe-commits
Hi Everyone, I am continuing with updating Lit tests to be C++11 compatible. Here is the fifth patch. This patch contains 20 tests. These are mostly diagnostics changes due to new C++11 features and changes in the standard. Here are the explanations for each test in the order that they a

Lit C++11 Compatibility Patch #6

2015-12-14 Thread Li, Charles via cfe-commits
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