summaryrefslogtreecommitdiffstats
path: root/clang/test/Parser/cxx-class.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Parse the optional semicolon after a C++ in-class member functionDouglas Gregor2011-01-191-2/+6
| | | | | | | definition, rather than complaining about it. Problem reported by Marshall Clow. llvm-svn: 123835
* Complain when an unnamed enumeration has no enumerations (inDouglas Gregor2010-07-131-1/+1
| | | | | | C++). Fixes PR7466. llvm-svn: 108231
* Downgrade the "declaration does not declare anything" error to aDouglas Gregor2010-04-081-1/+1
| | | | | | | warning. It's not harmful to have such pointless declarations, and GCC does not diagnose this issue consistently. llvm-svn: 100814
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Semantic checking for class template declarations andDouglas Gregor2009-02-061-1/+1
| | | | | | | | | | | | | | | redeclarations. For example, checks that a class template redeclaration has the same template parameters as previous declarations. Detangled class-template checking from ActOnTag, whose logic was getting rather convoluted because it tried to handle C, C++, and C++ template semantics in one shot. Made some inroads toward eliminating extraneous "declaration does not declare anything" errors by adding an "error" type specifier. llvm-svn: 63973
* Implement support for anonymous structs and unions in C. Both C andDouglas Gregor2009-01-121-1/+1
| | | | | | | | | | | | | | C++ handle anonymous structs/unions in the same way. Addresses several bugs: <rdar://problem/6259534> <rdar://problem/6481130> <rdar://problem/6483159> The test case in PR clang/1750 now passes with -fsyntax-only, but CodeGen for inline assembler still fails. llvm-svn: 62112
* implement PR3177 - "__extension__ union" not supported in C++ modeChris Lattner2008-12-181-0/+9
| | | | llvm-svn: 61180
* Implement parsing and semantic checking of the 'mutable' keyword.Sebastian Redl2008-11-141-0/+1
| | | | | | Thanks to Doug for the review. Actual effects of mutable to follow. llvm-svn: 59331
* Update C++ status to reflect parser capabilities for chapter 9 (classes). ↵Sebastian Redl2008-11-081-1/+9
| | | | | | Slightly extend the class parser test. llvm-svn: 58909
* Handle unnamed bitfields when parsing C++ classes.Argyrios Kyrtzidis2008-06-281-0/+1
| | | | llvm-svn: 52855
* Add parsing support for C++ classes.Argyrios Kyrtzidis2008-06-241-0/+19
Note that Parser::ParseCXXMemberSpecification is temporarily disabled until the Sema support is in place. Once ParseCXXMemberSpecification is enabled, the Parser/cxx-class.cpp test will pass. llvm-svn: 52694
OpenPOWER on IntegriCloud