Commit Graph

17 Commits

Author SHA1 Message Date
Erik Verbruggen
21488e8898 Added semantic checks for Q_ENUMS. 2010-02-07 10:49:03 +01:00
Erik Verbruggen
ac6aba5ec3 Simplified Q_FLAGS and Q_DECLARE_FLAGS parsing. 2010-02-07 10:49:03 +01:00
Erik Verbruggen
8d8b05da5a Reworked parts of the QtPropertyDeclaration parsing and handling. 2010-02-07 10:49:03 +01:00
Erik Verbruggen
fd90c3503d Added AST nodes for compound expressions (a GNU extension). 2010-02-07 10:49:02 +01:00
Erik Verbruggen
ae0ee18a77 Removed #ifdefs so all AST nodes are always there.
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.
2010-02-04 12:15:32 +01:00
Wolfgang Beck
4b33881729 Merge ichecker branch changes into the mainline. New project can be found under src/tools/ICheck 2010-01-19 15:26:08 +10:00
Erik Verbruggen
0c17d53875 Fixed semantic check for ObjC fast-enumeration for-loops, then merged it with the semantic check for the foreach. 2010-01-11 09:29:15 +01:00
Roberto Raggi
527a9bd526 Inital support for Q_D/Q_Q declarations. 2009-11-30 17:07:22 +01:00
Roberto Raggi
d6fa4e2079 Get rid off translationUnit 2009-11-25 12:10:01 +01:00
Roberto Raggi
bef4ed8917 Introduced destructive pattern matching. 2009-11-16 14:15:12 +01:00
Roberto Raggi
1a7855af22 Match the value of the literals. 2009-11-13 15:17:27 +01:00
Roberto Raggi
baffd97efb Fixed parsing of ctor-initializers and added a manual test for the AST matchers 2009-11-13 12:38:18 +01:00
Roberto Raggi
3e9d4358bc Pass the translation units to the matcher. 2009-11-13 12:10:12 +01:00
Roberto Raggi
5644775d2f Also match the identifiers and the token types. 2009-11-13 11:54:22 +01:00
Roberto Raggi
f8beeea6dd Fixed the generator. 2009-11-13 11:43:52 +01:00
Roberto Raggi
ecf712e6bc New matchers 2009-11-13 11:35:19 +01:00
Roberto Raggi
5dcf449afd Initial work on the pattern matcher for AST nodes. 2009-11-12 18:03:05 +01:00