summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/Parser.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fixed Q_ENUMS/Q_FLAGS parsing to handle namespaces.Erik Verbruggen2010-02-151-8/+41
|
* Revert "Split Objective-C keyword parsing to handle the '@' separately."Erik Verbruggen2010-02-151-205/+137
| | | | This reverts commit 2a59d2ae0c889fe6e4ac50a3f110b0103f880c15.
* Revert "Added Objective-C @try block parsing."Erik Verbruggen2010-02-151-74/+5
| | | | This reverts commit f4163b8ba01cd1a4f5d91c83a3863939b7809375.
* Added Objective-C @try block parsing.Erik Verbruggen2010-02-151-5/+74
|
* Split Objective-C keyword parsing to handle the '@' separately.Erik Verbruggen2010-02-151-137/+205
| | | | | | | | | | | | | | | | | | | | | | 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".
* Fixed error recovery when failing to parse Q_PROPERTY.Erik Verbruggen2010-02-101-5/+10
|
* Removed Q_DECLARE_FLAGS parsing, leaving it to the CPP to expand it.Erik Verbruggen2010-02-081-26/+0
|
* Changed ObjC message arguments to have SimpleName for the name part.Erik Verbruggen2010-02-081-1/+2
|
* Changed Q_PROPERTY parsing and AST storage.Erik Verbruggen2010-02-071-56/+29
|
* Added semantic checks for Q_ENUMS.Erik Verbruggen2010-02-071-6/+5
|
* Simplified Q_FLAGS and Q_DECLARE_FLAGS parsing.Erik Verbruggen2010-02-071-49/+48
|
* Reworked parts of the QtPropertyDeclaration parsing and handling.Erik Verbruggen2010-02-071-98/+162
|
* Added semantic checks for compound expressions.Erik Verbruggen2010-02-071-0/+8
|
* Added AST nodes for compound expressions (a GNU extension).Erik Verbruggen2010-02-071-19/+17
|
* Avoid compile warning by putting parenthesis around && within ||Thorbjørn Lindeijer2010-02-051-2/+2
|
* Removed #ifdefs so all AST nodes are always there.Erik Verbruggen2010-02-041-6/+2
| | | | | | 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.
* Modified parseObjCTypeQualifiers to do what the name indicates.Erik Verbruggen2010-02-041-4/+11
|
* Renamed method.Erik Verbruggen2010-02-041-3/+3
|
* Source update.Wolfgang Beck2010-02-031-2/+5
|
* Fixed throw expression parsing.Erik Verbruggen2010-02-021-4/+20
|
* Fixed unintended switch-fall-through.Erik Verbruggen2010-02-021-3/+5
| | | | For @synchornized when ObjC is disabled.
* Extended operator precedence parsing.Erik Verbruggen2010-02-021-97/+84
| | | | | It now includes comma expressions, conditionals and assignment expressions.
* Put precedence constants in an enum.Erik Verbruggen2010-02-021-79/+77
|
* Added AST building for __attribute__ constructs.Erik Verbruggen2010-02-021-6/+21
|
* Fixed compiler "sensitive" use of &(...) expressions.Erik Verbruggen2010-02-021-61/+61
|
* Added clone methods to the AST.Erik Verbruggen2010-02-021-5/+5
|
* Merge remote branch 'origin/1.3'Oswald Buddenhagen2010-01-291-2/+2
|\ | | | | | | Trailing whitespace removal re-applied manually.
| * remove trailing whitespaceOswald Buddenhagen2010-01-291-1/+1
| | | | | | | | doing it in 1.3 as well to avoid possible later conflicts
* | Removed methods which always returned a constant (false).Erik Verbruggen2010-01-281-7/+1
| |
* | Changed binary expression parsing to use precedence parsing.Erik Verbruggen2010-01-281-240/+120
| |
* | Introduced a few paranoia checks.Roberto Raggi2010-01-261-3/+10
| |
* | Initialize Parser::depthRoberto Raggi2010-01-251-1/+2
| |
* | Temporary fix to prevent the parser from going too deep into recursion.Erik Verbruggen2010-01-221-1/+7
| |
* | Fixed bug in ObjC class field parsing which could result in an invalid ↵Erik Verbruggen2010-01-221-4/+4
| | | | | | | | pointer in the AST.
* | Removed unused method.Erik Verbruggen2010-01-221-14/+0
| |
* | Merge ichecker branch changes into the mainline. New project can be found ↵Wolfgang Beck2010-01-191-0/+183
| | | | | | | | under src/tools/ICheck
* | Fixed semantic check for ObjC fast-enumeration for-loops, then merged it ↵Erik Verbruggen2010-01-111-1/+1
| | | | | | | | with the semantic check for the foreach.
* | Fixed parsing of friend class declarations.Roberto Raggi2010-01-061-18/+36
| |
* | Fixed parsing of selector argument expressions.Erik Verbruggen2009-12-181-3/+4
| |
* | Fixed parsing of template-ids.Roberto Raggi2009-12-091-0/+3
| | | | | | | | Task-number: QTCREATORBUG-74
* | Removed unused argument.Roberto Raggi2009-12-081-1/+1
| |
* | Improved error recovery when parsing ctor-initializers.Roberto Raggi2009-12-071-8/+40
| |
* | Added diagnostic messages for ctor-initializers.Roberto Raggi2009-12-071-12/+13
| |
* | Check binary and unary expressions.Roberto Raggi2009-12-031-13/+53
| |
* | Improved panic mode error recoveryRoberto Raggi2009-12-031-41/+39
| |
* | Use const literals.Roberto Raggi2009-12-011-3/+3
| |
* | Inital support for Q_D/Q_Q declarations.Roberto Raggi2009-11-301-0/+10
| |
* | Introduced type matchers.Roberto Raggi2009-11-231-6/+8
| |
* | Merge remote branch 'origin/1.3'Roberto Raggi2009-11-171-7/+9
|\ \ | |/
| * Use a map for the memoization.Roberto Raggi2009-11-161-7/+9
| |