summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/ASTMatcher.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remember the T_TEMPLATE token we use to force the parser to recognize a ↵Roberto Raggi2010-08-121-0/+2
| | | | template-id.
* Introduced IdExpressionAST.Roberto Raggi2010-08-021-0/+13
|
* Regenerated firstToken/lastToken methods.Erik Verbruggen2010-06-241-0/+2
|
* Get rid of PostfixExpressionAST and store the base expression together with ↵Roberto Raggi2010-06-231-18/+20
| | | | the PostfixAST nodes.
* Parse C++ 0x argument packs.Roberto Raggi2010-03-251-0/+21
|
* Accepts `...' when parsing declarator-ids in C++0x.Roberto Raggi2010-03-251-0/+2
|
* Accepts trailing return types.Roberto Raggi2010-03-241-0/+5
|
* Recognize C++0x lambda expressions.Roberto Raggi2010-03-241-0/+120
|
* Added attributes to the elaborate-type-specifier AST node.Erik Verbruggen2010-03-231-0/+5
|
* Parse C++0x type-parameters.Roberto Raggi2010-03-231-0/+4
|
* Parse C++0x base-specifier-list.Roberto Raggi2010-03-231-0/+4
|
* Recognize C++0x rvalue references.Roberto Raggi2010-03-231-1/+1
|
* Renamed the CompoundExpressionAST::compoundStatement.Roberto Raggi2010-03-231-3/+3
|
* Parse and create AST nodes for the Q_MOC_RUN extensions.Roberto Raggi2010-03-171-0/+42
|
* Added parser support for Q_INTERFACES.Erik Verbruggen2010-03-171-0/+37
|
* Long live the king!hjk2010-03-051-1/+1
|
* Simplified ObjC selectors in the AST.Erik Verbruggen2010-02-231-35/+25
|
* Fixed Q_PROPERTY parsing to handle all possible cases.Erik Verbruggen2010-02-161-24/+5
|
* Revert "Split Objective-C keyword parsing to handle the '@' separately."Erik Verbruggen2010-02-151-26/+0
| | | | This reverts commit 2a59d2ae0c889fe6e4ac50a3f110b0103f880c15.
* Revert "Added Objective-C @try block parsing."Erik Verbruggen2010-02-151-87/+0
| | | | This reverts commit f4163b8ba01cd1a4f5d91c83a3863939b7809375.
* Added Objective-C @try block parsing.Erik Verbruggen2010-02-151-0/+87
|
* Split Objective-C keyword parsing to handle the '@' separately.Erik Verbruggen2010-02-151-0/+26
| | | | | | | | | | | | | | | | | | | | | | 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-26/+0
|
* Changed ObjC message arguments to have SimpleName for the name part.Erik Verbruggen2010-02-081-1/+4
|
* Changed Q_PROPERTY parsing and AST storage.Erik Verbruggen2010-02-071-57/+36
|
* Added semantic checks for Q_ENUMS.Erik Verbruggen2010-02-071-3/+3
|
* Simplified Q_FLAGS and Q_DECLARE_FLAGS parsing.Erik Verbruggen2010-02-071-7/+15
|
* Reworked parts of the QtPropertyDeclaration parsing and handling.Erik Verbruggen2010-02-071-12/+62
|
* Added AST nodes for compound expressions (a GNU extension).Erik Verbruggen2010-02-071-0/+17
|
* Removed #ifdefs so all AST nodes are always there.Erik Verbruggen2010-02-041-7/+45
| | | | | | 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.
* Merge ichecker branch changes into the mainline. New project can be found ↵Wolfgang Beck2010-01-191-0/+66
| | | | under src/tools/ICheck
* Fixed semantic check for ObjC fast-enumeration for-loops, then merged it ↵Erik Verbruggen2010-01-111-3/+3
| | | | with the semantic check for the foreach.
* Inital support for Q_D/Q_Q declarations.Roberto Raggi2009-11-301-0/+19
|
* Get rid off translationUnitRoberto Raggi2009-11-251-4/+1
|
* Introduced destructive pattern matching.Roberto Raggi2009-11-161-712/+1617
|
* Match the value of the literals.Roberto Raggi2009-11-131-0/+3
|
* Fixed parsing of ctor-initializers and added a manual test for the AST matchersRoberto Raggi2009-11-131-2/+3
|
* Pass the translation units to the matcher.Roberto Raggi2009-11-131-50/+8
|
* Also match the identifiers and the token types.Roberto Raggi2009-11-131-251/+264
|
* Fixed the generator.Roberto Raggi2009-11-131-2/+0
|
* New matchersRoberto Raggi2009-11-131-122/+1008
|
* Initial work on the pattern matcher for AST nodes.Roberto Raggi2009-11-121-0/+693