summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/AST.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fixed Q_PROPERTY parsing to handle all possible cases.Erik Verbruggen2010-02-161-27/+4
|
* Revert "Split Objective-C keyword parsing to handle the '@' separately."Erik Verbruggen2010-02-151-54/+27
| | | | This reverts commit 2a59d2ae0c889fe6e4ac50a3f110b0103f880c15.
* Revert "Added Objective-C @try block parsing."Erik Verbruggen2010-02-151-60/+1
| | | | This reverts commit f4163b8ba01cd1a4f5d91c83a3863939b7809375.
* Added Objective-C @try block parsing.Erik Verbruggen2010-02-151-1/+60
|
* Split Objective-C keyword parsing to handle the '@' separately.Erik Verbruggen2010-02-151-27/+54
| | | | | | | | | | | | | | | | | | | | | | Because apparently, while designing the Objective-C language, somebody thought it was a world-class idea to allow any white-space between the '@' character and the subsequent keyword. With this fix, we now correctly parse: @ dynamic and: @ selector and: @"foo" "bar" @"mooze" (This last one is 1 single string split over multiple lines.) Wonderful, isn't it? What we (and Clang) do not support, but what GCC supports is something like: @"foo"@@ "bar" @"mooze" @@ which is equivalent to @"foobarmooze".
* Removed Q_DECLARE_FLAGS parsing, leaving it to the CPP to expand it.Erik Verbruggen2010-02-081-21/+0
|
* Changed ObjC message arguments to have SimpleName for the name part.Erik Verbruggen2010-02-081-3/+3
|
* Changed Q_PROPERTY parsing and AST storage.Erik Verbruggen2010-02-071-5/+77
|
* Reworked parts of the QtPropertyDeclaration parsing and handling.Erik Verbruggen2010-02-071-8/+8
|
* Added AST nodes for compound expressions (a GNU extension).Erik Verbruggen2010-02-071-2/+14
|
* Removed #ifdefs so all AST nodes are always there.Erik Verbruggen2010-02-041-2/+0
| | | | | | Also removed the (conditional) invoke_token from DeclarationAST and use the qt_invokable_token to store the Q_INVOKABLE, and fixed the ASTMatch code generation.
* Added clone methods to the AST.Erik Verbruggen2010-02-021-8/+8
|
* Merge remote branch 'origin/1.3'Oswald Buddenhagen2010-01-291-1/+1
|\ | | | | | | Trailing whitespace removal re-applied manually.
* | Merge ichecker branch changes into the mainline. New project can be found ↵Wolfgang Beck2010-01-191-1/+44
| | | | | | | | under src/tools/ICheck
* | Fixed semantic check for ObjC fast-enumeration for-loops, then merged it ↵Erik Verbruggen2010-01-111-2/+2
| | | | | | | | with the semantic check for the foreach.
* | Fixed potential 0 pointer deref.Erik Verbruggen2009-12-181-1/+5
| |
* | Inital support for Q_D/Q_Q declarations.Roberto Raggi2009-11-301-0/+14
| |
* | CleanupRoberto Raggi2009-11-231-1/+0
| |
* | Fixed parsing of ctor-initializers and added a manual test for the AST matchersRoberto Raggi2009-11-131-2/+2
| |
* | Initial work on the pattern matcher for AST nodes.Roberto Raggi2009-11-121-0/+17
| |
* | Fixed the AST field names.Roberto Raggi2009-11-101-133/+133
| |
* | Ported the accept methods.Roberto Raggi2009-11-101-72/+67
| |
* | Cleanup specifiers.Roberto Raggi2009-11-101-86/+63
| |
* | Cleanup ptr operators.Roberto Raggi2009-11-101-13/+7
| |
* | Cleanup Catch clauseRoberto Raggi2009-11-101-5/+3
| |
* | Cleanup nested name specifiersRoberto Raggi2009-11-101-9/+5
| |
* | Cleanup postfix declarators.Roberto Raggi2009-11-101-4/+2
| |
* | Cleanup Postfix operators.Roberto Raggi2009-11-101-4/+2
| |
* | Cleanup NewArrayDeclaratorASTRoberto Raggi2009-11-101-4/+2
| |
* | Cleanup MemInitializerASTRoberto Raggi2009-11-101-8/+4
| |
* | Cleanup base base specifiers.Roberto Raggi2009-11-101-6/+4
| |
* | Removed ObjCSynthesizedPropertyASTRoberto Raggi2009-11-101-19/+0
| | | | | | | | Done with Erik Verbruggen
* | Removed ObjCMessageArgumentDeclarationListASTRoberto Raggi2009-11-101-22/+0
| | | | | | | | Done with Erik Verbruggen
* | Removed ObjCPropertyAttributeListASTRoberto Raggi2009-11-101-25/+3
| | | | | | | | Done with Erik Verbruggen
* | Removed ObjCSelectorArgumentListASTRoberto Raggi2009-11-101-19/+0
| | | | | | | | Done with Erik Verbruggen
* | Removed ObjCMessageArgumentListASTRoberto Raggi2009-11-101-19/+0
| | | | | | | | Done with Erik Verbruggen
* | Removed ObjCIdentifierListASTRoberto Raggi2009-11-101-29/+9
| | | | | | | | Done with Erik Verbruggen
* | Removed TemplateArgumentListASTRoberto Raggi2009-11-101-18/+2
| | | | | | | | Done with Erik Verbruggen
* | Removed DeclaratorListASTRoberto Raggi2009-11-101-19/+0
| | | | | | | | Done with Erik Verbruggen
* | Removed StatementListASTRoberto Raggi2009-11-101-17/+1
| | | | | | | | Done with Erik Verbruggen
* | Removed DeclarationListAST node.Roberto Raggi2009-11-101-16/+1
| | | | | | | | Done with Erik Verbruggen
* | Removed the ExpressionListAST node.Roberto Raggi2009-11-101-43/+15
|/ | | | Done with Erik Verbruggen
* Cleanup the C++ front-end.Roberto Raggi2009-10-201-2/+2
| | | | Removed CPLUSPLUS_BEGIN/END_NAMESPACE & co and made it possible to compile the parser with CPLUSPLUS_WITHOUT_QT.
* Added protocol & class definedness checks, and added property attribute checks.Erik Verbruggen2009-10-051-0/+2
|
* long live the kinghjk2009-08-141-1/+1
|
* Cleaned the ObjC AST up.Erik Verbruggen2009-08-051-102/+26
|
* Merged ObjCMethodDefinitionAST into ObjCMethodDeclarationAST.Erik Verbruggen2009-08-041-13/+1
|
* Added @synchronized parsing for Objective-C.Erik Verbruggen2009-07-311-0/+14
|
* Added Semantic checks for ObjC methods.Erik Verbruggen2009-07-311-5/+6
|
* Fix for ObjC fast-enumeration parsing.Erik Verbruggen2009-07-291-0/+4
|