Commit Graph

129 Commits

Author SHA1 Message Date
Oswald Buddenhagen
75b42f18d8 Merge remote branch 'origin/1.3'
Trailing whitespace removal re-applied manually.
2010-01-29 22:50:23 +01:00
Oswald Buddenhagen
a6ca348636 remove trailing whitespace
doing it in 1.3 as well to avoid possible later conflicts
2010-01-29 21:33:57 +01:00
Erik Verbruggen
b7cbc9b0c1 Removed methods which always returned a constant (false). 2010-01-28 17:05:26 +01:00
Erik Verbruggen
3dd011fcb6 Changed binary expression parsing to use precedence parsing. 2010-01-28 15:22:50 +01:00
Roberto Raggi
df11fc95f9 Introduced a few paranoia checks. 2010-01-26 12:45:58 +01:00
Roberto Raggi
1f5d65e4a3 Initialize Parser::depth 2010-01-25 09:31:34 +01:00
Erik Verbruggen
4912ffe729 Temporary fix to prevent the parser from going too deep into recursion. 2010-01-22 16:07:26 +01:00
Erik Verbruggen
007d76aada Fixed bug in ObjC class field parsing which could result in an invalid pointer in the AST. 2010-01-22 09:54:00 +01:00
Erik Verbruggen
800f4babc6 Removed unused method. 2010-01-22 09:54:00 +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
83d5659454 Fixed parsing of friend class declarations. 2010-01-06 16:15:28 +01:00
Erik Verbruggen
19beb9c84f Fixed parsing of selector argument expressions. 2009-12-18 17:26:07 +01:00
Roberto Raggi
0a5b2eed4c Fixed parsing of template-ids.
Task-number: QTCREATORBUG-74
2009-12-09 12:32:04 +01:00
Roberto Raggi
2811d0caf3 Removed unused argument. 2009-12-08 12:20:13 +01:00
Roberto Raggi
59e0729826 Improved error recovery when parsing ctor-initializers. 2009-12-07 14:51:29 +01:00
Roberto Raggi
fd4aee7ef6 Added diagnostic messages for ctor-initializers. 2009-12-07 14:51:29 +01:00
Roberto Raggi
48a555d789 Check binary and unary expressions. 2009-12-03 18:08:14 +01:00
Roberto Raggi
1c40a4bcd6 Improved panic mode error recovery 2009-12-03 12:20:31 +01:00
Roberto Raggi
fade61a8a9 Use const literals. 2009-12-01 11:46:36 +01:00
Roberto Raggi
527a9bd526 Inital support for Q_D/Q_Q declarations. 2009-11-30 17:07:22 +01:00
Roberto Raggi
0528f2407a Introduced type matchers. 2009-11-23 12:53:33 +01:00
Roberto Raggi
35901130ee Merge remote branch 'origin/1.3' 2009-11-17 09:40:50 +01:00
Roberto Raggi
0b641d38d5 Use a map for the memoization. 2009-11-16 18:01:50 +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
5dcf449afd Initial work on the pattern matcher for AST nodes. 2009-11-12 18:03:05 +01:00
Roberto Raggi
0ae2d96a9b Fixed the AST field names. 2009-11-10 16:47:16 +01:00
Roberto Raggi
e5eb88a31f Ported the accept methods. 2009-11-10 16:20:13 +01:00
Roberto Raggi
cdb1443219 Cleanup specifiers. 2009-11-10 16:20:13 +01:00
Roberto Raggi
4fc2ccf0c5 Cleanup ptr operators. 2009-11-10 16:20:13 +01:00
Roberto Raggi
30c67f43df Cleanup Catch clause 2009-11-10 16:20:12 +01:00
Roberto Raggi
380bce4527 Cleanup nested name specifiers 2009-11-10 16:20:12 +01:00
Roberto Raggi
b47eee8869 Cleanup Attributes 2009-11-10 16:20:12 +01:00
Roberto Raggi
24b6c858eb Cleanup postfix declarators. 2009-11-10 16:20:12 +01:00
Roberto Raggi
a7219736b6 Cleanup Postfix operators. 2009-11-10 16:20:12 +01:00
Roberto Raggi
aff9a74366 Cleanup NewArrayDeclaratorAST 2009-11-10 16:20:11 +01:00
Roberto Raggi
73a4f2977a Cleanup MemInitializerAST 2009-11-10 16:20:11 +01:00
Roberto Raggi
1dbdbbefe7 Cleanup base base specifiers. 2009-11-10 16:20:11 +01:00
Roberto Raggi
86a8812beb Removed ObjCSynthesizedPropertyAST
Done with Erik Verbruggen
2009-11-10 16:20:11 +01:00
Roberto Raggi
4c24676362 Removed ObjCMessageArgumentDeclarationListAST
Done with Erik Verbruggen
2009-11-10 16:20:11 +01:00
Roberto Raggi
98802456b3 Removed ObjCPropertyAttributeListAST
Done with Erik Verbruggen
2009-11-10 16:20:11 +01:00
Roberto Raggi
e5c9aaab4b Removed ObjCSelectorArgumentListAST
Done with Erik Verbruggen
2009-11-10 16:20:10 +01:00
Roberto Raggi
d358c89f09 Removed ObjCMessageArgumentListAST
Done with Erik Verbruggen
2009-11-10 16:20:10 +01:00
Roberto Raggi
496ff15db3 Removed ObjCIdentifierListAST
Done with Erik Verbruggen
2009-11-10 16:20:10 +01:00
Roberto Raggi
8efb73f5d2 Removed TemplateArgumentListAST
Done with Erik Verbruggen
2009-11-10 16:20:10 +01:00
Roberto Raggi
6e3e293e53 Removed DeclaratorListAST
Done with Erik Verbruggen
2009-11-10 16:20:10 +01:00
Roberto Raggi
77e7899e7c Removed StatementListAST
Done with Erik Verbruggen
2009-11-10 16:20:09 +01:00
Roberto Raggi
36a0ea2bcb Removed DeclarationListAST node.
Done with Erik Verbruggen
2009-11-10 16:20:09 +01:00
Roberto Raggi
4089c906fa Removed the ExpressionListAST node.
Done with Erik Verbruggen
2009-11-10 16:20:09 +01:00
Roberto Raggi
64a08d15f3 Parse ASM specifiers after declarators.
Again, a gcc extension used in the OSX system headers.
2009-11-04 13:47:06 +01:00