summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/AST.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remember the T_TEMPLATE token we use to force the parser to recognize a ↵Roberto Raggi2010-08-121-0/+4
| | | | template-id.
* Introduced IdExpressionAST.Roberto Raggi2010-08-021-0/+18
|
* Fixed possible crash when asking for the firstToken of an incomplete base ↵Roberto Raggi2010-07-051-1/+4
| | | | class specifier.
* Regenerated firstToken/lastToken methods.Erik Verbruggen2010-06-241-1467/+3054
|
* Fixed fistToken/lastToken for BaseSpecifierAST.Erik Verbruggen2010-06-231-1/+5
|
* Renamed LambdaCapture::default_capture.Roberto Raggi2010-06-231-4/+4
|
* Get rid of PostfixExpressionAST and store the base expression together with ↵Roberto Raggi2010-06-231-16/+22
| | | | the PostfixAST nodes.
* Return valid tokens for the Objc nodes.Roberto Raggi2010-06-031-21/+55
|
* Fixed ClassSpecifierAST::lastToken() to return a valid token.Roberto Raggi2010-06-011-3/+6
|
* Parse C++ 0x argument packs.Roberto Raggi2010-03-251-0/+19
|
* Recognize C++0x sizeof... expressions.Roberto Raggi2010-03-251-1/+11
|
* Accepts `...' when parsing declarator-ids in C++0x.Roberto Raggi2010-03-251-1/+11
|
* Accepts trailing return types.Roberto Raggi2010-03-241-1/+4
|
* Recognize C++0x lambda expressions.Roberto Raggi2010-03-241-0/+116
|
* Added attributes to the elaborate-type-specifier AST node.Erik Verbruggen2010-03-231-0/+2
|
* Parse C++0x type-parameters.Roberto Raggi2010-03-231-0/+5
|
* Parse C++0x base-specifier-list.Roberto Raggi2010-03-231-0/+3
|
* Parse C++0x mem-initializer-list.Roberto Raggi2010-03-231-1/+3
|
* Recognize C++0x rvalue references.Roberto Raggi2010-03-231-2/+2
|
* Renamed the CompoundExpressionAST::compoundStatement.Roberto Raggi2010-03-231-2/+2
|
* Parse and create AST nodes for the Q_MOC_RUN extensions.Roberto Raggi2010-03-171-0/+36
|
* Added parser support for Q_INTERFACES.Erik Verbruggen2010-03-171-1/+38
|
* Long live the king!hjk2010-03-051-1/+1
|
* Simplified ObjC selectors in the AST.Erik Verbruggen2010-02-231-20/+9
|
* 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
| |