Roberto Raggi
|
60902c69bc
|
Set the `virtual' attribute.
|
2009-10-27 14:06:07 +01:00 |
|
Friedemann Kleint
|
f13d4a104a
|
Autotests: Compile on Windows
Reviewed-by: Roberto Raggi <qtc-committer@nokia.com>
|
2009-10-26 17:26:53 +01:00 |
|
Roberto Raggi
|
fe9b4458c6
|
Fixed the #include directive.
|
2009-10-26 15:21:21 +01:00 |
|
Erik Verbruggen
|
f4047ac8bf
|
Fixed use of uninitialized/unallocated object.
|
2009-10-26 10:50:11 +01:00 |
|
Roberto Raggi
|
935642b1bc
|
Return the cached AST node.
|
2009-10-23 14:31:55 +02:00 |
|
Roberto Raggi
|
07c2451abd
|
Use memoization to reduce the backtracking when parsing template arguments.
|
2009-10-23 11:21:36 +02:00 |
|
Roberto Raggi
|
2a7fa04101
|
Released the memory allocated in the memory pool when backtracking from Parser::parseTemplateId().
|
2009-10-22 16:48:06 +02:00 |
|
Roberto Raggi
|
afcbb78999
|
Initialize _isInterface of ObjCClass
|
2009-10-21 17:05:36 +02:00 |
|
Roberto Raggi
|
245a2ca2b3
|
Initialize the members of List<T>
|
2009-10-21 17:05:36 +02:00 |
|
Roberto Raggi
|
98bde3dda7
|
Removed unused member _pool in LiteralTable.
|
2009-10-21 17:05:36 +02:00 |
|
Roberto Raggi
|
7c68acbd3f
|
Regenerated the AST cloner.
|
2009-10-20 16:54:51 +02:00 |
|
Robert Loehning
|
bf74d9aed9
|
Compile fix in Parser.cpp
|
2009-10-20 15:55:40 +02:00 |
|
Roberto Raggi
|
18ef2f2615
|
Reduce backtracking when parsing ambiguous name ids.
|
2009-10-20 15:29:00 +02:00 |
|
Roberto Raggi
|
3ed4a743c0
|
Check the lookahead token before to start the parse of core-postfix expressions.
|
2009-10-20 15:01:45 +02:00 |
|
Roberto Raggi
|
bd7c7e0e55
|
Added debug helpers
|
2009-10-20 14:56:36 +02:00 |
|
Erik Verbruggen
|
5586a6daff
|
Fixed use of uninitialized Control.
|
2009-10-20 13:50:55 +02:00 |
|
Erik Verbruggen
|
56f755efe8
|
Changed ObjC context keyword comparison to use identifiers.
|
2009-10-20 12:48:23 +02:00 |
|
Roberto Raggi
|
c5cf70c6b8
|
Check for valid decl_specifier_seq when parsing declaration statements.
|
2009-10-20 11:42:18 +02:00 |
|
Roberto Raggi
|
8f4bdd5355
|
Removed unused method Parser::maybeSimpleExpression()
|
2009-10-20 11:29:53 +02:00 |
|
Roberto Raggi
|
7c62901919
|
Removed unused method Parser::maybeFunctionCall()
|
2009-10-20 11:28:38 +02:00 |
|
Roberto Raggi
|
13675cf6ed
|
Cleanup the C++ front-end.
Removed CPLUSPLUS_BEGIN/END_NAMESPACE & co and made it possible to compile the parser with CPLUSPLUS_WITHOUT_QT.
|
2009-10-20 11:21:25 +02:00 |
|
Roberto Raggi
|
fe2c9cc16d
|
Improved parsing of ambiguous statements.
Done with Erik Verbruggen
|
2009-10-19 17:48:57 +02:00 |
|
Erik Verbruggen
|
077c19a661
|
Fix for invalid parsing of "(a)[b]", including test cases.
|
2009-10-19 14:50:20 +02:00 |
|
Roberto Raggi
|
5bee5dea13
|
Check the scope of class and fwd-class declarations
|
2009-10-13 12:21:05 +02:00 |
|
Roberto Raggi
|
99c3327719
|
Improved support for private classes.
|
2009-10-12 12:01:01 +02:00 |
|
Roberto Raggi
|
88f3fa09be
|
Removed deprecated PrettyPrinter. We need a way to generate the pretty printer from the C++ parser.
|
2009-10-09 11:44:12 +02:00 |
|
Roberto Raggi
|
77aa306478
|
Removed the MacroResolver
Unfortunately, the MacroResolver does not scale and we get pretty bad performances when parsing big projects.
|
2009-10-07 13:57:45 +02:00 |
|
Roberto Raggi
|
49fb887059
|
Check ctor-initializers.
|
2009-10-06 12:53:16 +02:00 |
|
Erik Verbruggen
|
1ba39198d1
|
Fixed possible null-pointer dereference.
|
2009-10-05 18:02:39 +02:00 |
|
Erik Verbruggen
|
f1e665463b
|
Added protocol & class definedness checks, and added property attribute checks.
|
2009-10-05 18:02:01 +02:00 |
|
Roberto Raggi
|
9a21143384
|
Implemented a simple(fast?) strategy to resolve macro references.
|
2009-09-30 17:17:11 +02:00 |
|
Roberto Raggi
|
e50d60ac97
|
Introduced MacroResolver.
|
2009-09-30 17:17:11 +02:00 |
|
Roberto Raggi
|
8356d3360b
|
Delay the parsing of the document.
|
2009-09-30 16:13:43 +02:00 |
|
Roberto Raggi
|
cae8a31a7d
|
FullySpecifiedType::simplified() strips references from the type.
|
2009-09-30 11:54:46 +02:00 |
|
Roberto Raggi
|
e40cd82f8c
|
Introduced T_CPP_COMMENT and T_CPP_DOXY_COMMENT to handle C++-style comments and improved CPPEditor::isInComment to handle the newly introduced tokens.
As side effect,this change should fix the regression we introduced in the "automagically" quote/brace insertion.
|
2009-09-29 11:35:43 +02:00 |
|
Erik Verbruggen
|
377ed944e5
|
Merge branch 'master' of git@scm.dev.nokia.troll.no:creator/mainline
|
2009-09-28 11:46:20 +02:00 |
|
Erik Verbruggen
|
478e94748f
|
Added type declarations for forward declared ObjC protocols and classes.
|
2009-09-28 11:46:00 +02:00 |
|
Roberto Raggi
|
e9a5ab1b0d
|
Added the `isVirtual' attribute to Function.
|
2009-09-25 14:20:02 +02:00 |
|
Roberto Raggi
|
63cd7ffe4e
|
Removed Scope::addUse()
|
2009-09-23 16:52:42 +02:00 |
|
Roberto Raggi
|
6c347a12c6
|
Introduced LiteralTable::findLiteral() and Control::findIdentifier()
|
2009-09-23 16:52:41 +02:00 |
|
Erik Verbruggen
|
b92e1a0abf
|
Wee little cleanup.
|
2009-09-21 18:26:37 +02:00 |
|
Roberto Raggi
|
fc1b435ab4
|
Introduced CPlusPlus::TemplateArguments and fixed a possible mem-leak when using template members.
|
2009-08-26 11:41:20 +02:00 |
|
hjk
|
93cbef8724
|
long live the king
|
2009-08-14 09:30:56 +02:00 |
|
Erik Verbruggen
|
ffccb612af
|
Parsing fix for casts in ObjC message expressions.
|
2009-08-10 12:44:52 +02:00 |
|
Erik Verbruggen
|
4e7881577d
|
Parser fix for ObjC methods.
|
2009-08-06 13:44:33 +02:00 |
|
Erik Verbruggen
|
86a7b26fcd
|
Fixed semantic checks for Objective-C methods and fast-enumeration.
|
2009-08-05 18:30:18 +02:00 |
|
Erik Verbruggen
|
ca34b0ca1c
|
Cleaned the ObjC AST up.
|
2009-08-05 17:14:08 +02:00 |
|
Roberto Raggi
|
393806696d
|
The parser needs to a valid AST when the parsing method returns `true'.
|
2009-08-05 09:59:11 +02:00 |
|
Erik Verbruggen
|
e53d23d55c
|
Merged ObjCMethodDefinitionAST into ObjCMethodDeclarationAST.
|
2009-08-04 16:22:24 +02:00 |
|
Roberto Raggi
|
332e6f9a28
|
Stop scanning string literals when the current character is a newline.
|
2009-08-04 12:18:25 +02:00 |
|