Commit Graph

182 Commits

Author SHA1 Message Date
Thorbjørn Lindeijer
146a534932 Fixed all crashes due to refencing undefined types
Introduced UndefinedType class to replace null pointer.

Done with Roberto Raggi
2009-02-10 17:22:16 +01:00
Roberto Raggi
2d80acbe76 Improved the implementation of new-expressions. 2009-02-10 14:44:03 +01:00
Thorbjørn Lindeijer
885d908ea3 Fixed two crashes with C++ engine handling
These checks are necessary cause of a recent change in the C++ engine.

Reviewed-by: Roberto Raggi
2009-02-10 13:56:13 +01:00
Roberto Raggi
fba8e1510c Fixes: Visiting of case statements. 2009-02-10 10:09:14 +01:00
Roberto Raggi
fb4ad59ddb Fixes: Possible crash when parsing qt methods. 2009-02-09 21:07:10 +01:00
Roberto Raggi
25de88fe61 Fixes: Removed dynamic_cast from Scope. 2009-02-09 21:00:03 +01:00
Roberto Raggi
c842957a8b Fixes: Possible crash in LookupContext. 2009-02-09 20:22:00 +01:00
Roberto Raggi
d01795d933 Reimplemented Type::as*Type() using virtual methods. 2009-02-09 17:49:12 +01:00
Roberto Raggi
17d047ced8 Reimplemented Name::as*() using virtual functions. 2009-02-09 16:32:56 +01:00
Roberto Raggi
2f90539211 Reimplemented Symbol::as*() methods using virtual functions. 2009-02-09 16:15:02 +01:00
Roberto Raggi
d782ce27fb Reimplemented the AST::as*AST() methods as virtual functions (as suggested by andre). 2009-02-09 15:55:01 +01:00
Roberto Raggi
cd9e752ae4 Introduced ASTVisitor::endVisit(ast node) 2009-02-09 14:58:13 +01:00
Roberto Raggi
208f26c9ce Annotate function declarators. 2009-02-09 12:47:58 +01:00
Roberto Raggi
ea981d5025 More annotations. 2009-02-09 12:19:17 +01:00
Roberto Raggi
3ac4e05e37 Annotated NamespaceAST nodes. 2009-02-09 12:00:06 +01:00
Roberto Raggi
0d314977f1 Annotated the NameAST nodes. 2009-02-09 11:56:21 +01:00
Roberto Raggi
6672f89ff5 Annotate the ClassSpecifierAST node with the class symbol. 2009-02-09 11:35:57 +01:00
Roberto Raggi
47a85d5a42 Accept T_COLON_COLON only for the first objc message arg. 2009-02-06 16:28:00 +01:00
Roberto Raggi
dd65867d17 Fixes: Parsing of objc selector expressions. 2009-02-06 15:51:17 +01:00
Roberto Raggi
7b2b182774 Fixes: Parsing of objc method definitions. 2009-02-06 15:13:12 +01:00
Roberto Raggi
8c0aa2d207 Fixes: Parsing of block declarations in an @implementation block. 2009-02-06 11:36:39 +01:00
Roberto Raggi
68552b8f4d Added fast lookup of objc type qualifiers. 2009-02-05 15:06:48 +01:00
Roberto Raggi
c00e30187c Fixes: Parsing objc method definitions. 2009-02-05 14:30:25 +01:00
Roberto Raggi
d7defc6fe0 Fixes: Parsing of GCC asm definitions. 2009-02-05 14:30:24 +01:00
Roberto Raggi
40eabdd008 Improved parsing of objc message expressions. 2009-02-05 14:30:24 +01:00
Roberto Raggi
88b4dd35dc Fixes: Parsing of objc message expressions. 2009-02-05 14:30:23 +01:00
Roberto Raggi
58ff27bd83 Fixes: Parsing of objc string literals and selector expressions. 2009-02-05 14:30:23 +01:00
Roberto Raggi
debe2a0d93 Fixes: Parsing of objc protocol expressions. 2009-02-05 14:30:23 +01:00
Roberto Raggi
26560ca9d2 Parse objc encode expressions. 2009-02-05 14:30:23 +01:00
Roberto Raggi
fa5b8508a0 Dummy method for the objc expressions. 2009-02-05 14:30:22 +01:00
Roberto Raggi
072e03a5cc Fixes: Parsing of wide char literals. 2009-01-29 16:50:07 +01:00
hjk
fe0533de2a Fixes: move all files in shared/* to src/shared/* 2009-01-26 16:19:24 +01:00