Commit Graph

120 Commits

Author SHA1 Message Date
Erik Verbruggen
a3d129527f Added ObjC method prototypes to the AST. 2009-07-16 17:38:24 +02:00
Erik Verbruggen
01ee7a95c9 Fixed crasher (infinite looping) for ObjC attributes. 2009-07-16 16:40:19 +02:00
Erik Verbruggen
7fbec4f28e Added ObjC properties to the AST. 2009-07-16 15:50:42 +02:00
Erik Verbruggen
fa03d46984 Added ObjC @interface and @implementation member declarations. 2009-07-16 14:31:13 +02:00
Erik Verbruggen
ef58d082ea Added ObjC encode expressions. 2009-07-16 12:44:47 +02:00
Erik Verbruggen
a262fce6d0 Added ObjC protocol expressions. 2009-07-16 12:18:05 +02:00
Erik Verbruggen
e5377519d6 Added varargs parsing for ObjC send_msg arguments. 2009-07-16 11:27:45 +02:00
Erik Verbruggen
c8f155c0fc AST additions for ObjC send_msg. 2009-07-15 12:11:07 +02:00
Alessandro Portale
d3f9757916 Removing some unused semicolons after Q_UNUSED
There were both variants, with and without extra semicolon.
2009-07-13 17:35:17 +02:00
Roberto Raggi
6c0854df66 Improved the parsing of parameter declarations clause. 2009-07-13 14:29:20 +02:00
Roberto Raggi
1eefd16383 Fixed a few typos and bugs in the ObjC++ support. 2009-07-13 12:05:29 +02:00
Erik Verbruggen
e70bb220b1 Added @dynamic parsing. 2009-07-13 11:21:06 +02:00
Erik Verbruggen
08a85a51bf Added @synthesize and fixed @property. 2009-07-13 11:16:22 +02:00
Erik Verbruggen
78cceecc28 Added AST for a bit of ObjC. 2009-07-13 11:08:11 +02:00
Roberto Raggi
d685437d74 Recognize the numeric literals. 2009-07-10 17:08:15 +02:00
Roberto Raggi
e2b3d34dc5 Check for 0x0 access when comparing identifiers. 2009-07-10 16:03:26 +02:00
Roberto Raggi
3e54a65a69 Replaced T_INT_LITERAL and T_FLOAT_LITERAL with T_NUMERIC_LITERAL. 2009-07-10 15:45:09 +02:00
Roberto Raggi
97f8850a74 Introduced SemanticHighlighter
Done with Thorbjørn Lindeijer
2009-07-09 12:14:00 +02:00
Roberto Raggi
7e7c944628 Stop at class or elaborated class specifiers when recovering declarations. 2009-07-06 09:53:25 +02:00
Roberto Raggi
93cdff1818 Visit the declarator's initializer. 2009-07-06 09:53:25 +02:00
Roberto Raggi
ca62e4f61c Fixed the parsing of foreach statements. The initializer expression needs to be an assignment expression. 2009-07-03 11:31:00 +02:00
Roberto Raggi
b2df9bddec Made foreach a keyword when parsing with qtMocRun 2009-07-03 11:00:36 +02:00
Roberto Raggi
3cdd48067c Introduced ForeachStatementAST and the bits to parse foreach statements when qtMocRun is enabled. 2009-07-03 09:12:58 +02:00
Thorbjørn Lindeijer
341a843bbf Removed two stray backslashes 2009-06-29 14:30:43 +02:00
Roberto Raggi
fd8cd69a47 Introduced Document::CheckMode. 2009-06-26 09:11:14 +02:00
Roberto Raggi
27f92695cf Initial work on smart highlight of local symbols. For-statements and symbols genarated from a macro expansion are not yet highlighted. 2009-06-25 12:48:55 +02:00
Roberto Raggi
0481176ea7 Highlight the locals. 2009-06-24 16:40:52 +02:00
Roberto Raggi
298b6ac520 Oops, restore the value of blockErrors() 2009-06-19 14:48:07 +02:00
Roberto Raggi
20545fd4b1 Fixed more template-id vs expressions ambiguites. 2009-06-19 12:39:32 +02:00
Roberto Raggi
0c03c1b9f9 Fixed template-id vs binary expression followed by a C-cast expression ambiguity. 2009-06-19 11:59:26 +02:00
Roberto Raggi
9c038180d8 Improved compatibility with the gcc extensions. 2009-06-18 17:49:17 +02:00
Roberto Raggi
9a8e724f15 Don't search for undefined symbols in ambiguous typeof expressions. 2009-06-18 14:22:06 +02:00
Roberto Raggi
c222f2aa27 Some cleanup in the AST nodes. 2009-06-17 16:08:33 +02:00
Roberto Raggi
a790c13cbe Generated the methods to accept AST nodes. 2009-06-17 14:14:51 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
con
4f4f767b2b Merge commit 'origin/1.2' 2009-06-16 14:58:28 +02:00
Roberto Raggi
4164d31712 Fixed crash in SimpleDeclarationAST::lastToken() 2009-06-16 10:00:07 +02:00
Roberto Raggi
dbba0ff8d7 Removed the filename literals. 2009-06-15 15:39:20 +02:00
Roberto Raggi
22551cffcc Fixed AST::asName() cast. 2009-06-08 11:53:51 +02:00
Roberto Raggi
74031307f1 Removed useless comment. 2009-06-05 12:10:59 +02:00
Roberto Raggi
456d418b24 Introduced iterators for the c++ literals. 2009-06-05 12:09:45 +02:00
Roberto Raggi
ad5b9cb005 Copy the base members. 2009-06-05 10:58:40 +02:00
Roberto Raggi
62adaedff9 AST cloning. 2009-06-05 10:47:40 +02:00
Roberto Raggi
0497c535a2 cleanup 2009-06-05 09:44:37 +02:00
Roberto Raggi
d1bbbcede5 Check the declarator's initializer. 2009-06-04 13:26:11 +02:00
Roberto Raggi
1c9a724a2f Check new-expressions. 2009-06-04 12:54:15 +02:00
Roberto Raggi
f55d5500c5 Warn for undefined types (not finished yet). 2009-06-04 11:32:29 +02:00
Roberto Raggi
590030428a typo 2009-06-03 15:17:58 +02:00
Roberto Raggi
19dd2b814f Added Symbol::enclosingNamespaceScope(), Symbol::enclosingClassScope(), and so on... 2009-06-03 14:15:49 +02:00
Roberto Raggi
f7afe3ee4b Made the C++ front-end more Creator-friendly. 2009-06-03 11:10:04 +02:00