llvm-project/clang/test/CXX
Alp Toker 70fc29ca86 Don't accept qualified 'int' main return types in C++ or standard C mode
C++ [basic.start.main]p1: "It shall have a return type of type int"

ISO C is also clear about this, so only accept 'int' with qualifiers in GNUMode
C.

llvm-svn: 212171
2014-07-02 07:07:20 +00:00
..
basic Don't accept qualified 'int' main return types in C++ or standard C mode 2014-07-02 07:07:20 +00:00
class Implement DR1460: fix handling of default initializers in unions; don't allow 2013-12-10 08:25:00 +00:00
class.access When formatting a C++-only declaration name, enable C++ mode in the formatter's 2014-01-22 00:27:42 +00:00
class.derived Implement final resolution of DR1402: implicitly-declared move operators that 2013-11-04 01:48:18 +00:00
conv Prior to adding the new "expected-no-diagnostics" directive to VerifyDiagnosticConsumer, make the necessary adjustment to 580 test-cases which will henceforth require this new directive. 2012-10-19 12:44:48 +00:00
dcl.dcl Add missing "non-constant" diagnostic for a member call on a temporary of 2014-06-11 19:53:12 +00:00
dcl.decl Tweak diagnostic wording for init list narrowing 2014-05-17 01:13:18 +00:00
drs Implement DR990 and DR1070. Aggregate initialization initializes uninitialized 2014-06-03 08:26:00 +00:00
except Add 'nonnull' parameter or return attribute when producing an llvm pointer type in a function type where the C++ type is a reference. Update the tests. 2014-05-28 09:56:42 +00:00
expr More fixes for isBetterOverloadCandidate not being a strict weak ordering. The 2014-05-17 04:36:39 +00:00
lex Add a triple to unbreak buildbots where size_t is not 'unsigned long'. 2013-10-07 22:58:25 +00:00
over Implement [over.match.oper]p3 properly, by filtering the non-candidates out 2014-04-17 01:52:14 +00:00
special Replace "can not" with "cannot" in diagnostics messages. 2014-03-07 22:36:23 +00:00
stmt.stmt Add -Wdeprecated warnings and fixits for things deprecated in C++11: 2013-06-13 02:02:51 +00:00
temp Move DR532 test where it belongs. 2014-06-03 02:56:59 +00:00