Commit Graph

298 Commits

Author SHA1 Message Date
Roberto Raggi
01473fec8b Addeed generator for the cast methods.
Done with: erikv
2009-11-09 14:52:06 +01:00
con
c8bb7e174b Merge commit 'origin/1.3'
Conflicts:
	src/plugins/qt4projectmanager/qt4project.cpp
2009-11-04 19:15:14 +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
Roberto Raggi
4a87d875f0 Accepts `$' as valid character when recognizing identifiers.
Added support for yet another gcc extension that is using in OSX 10.6 system headers.
2009-11-04 13:45:49 +01:00
con
be3fafc311 Merge commit '2be0845c7492ad991f23ce5c90c322df788b62b5'
Conflicts:
	src/plugins/projectexplorer/projectexplorer.h
	src/plugins/qt4projectmanager/qt4projectconfigwidget.cpp
	src/plugins/qt4projectmanager/qt4runconfiguration.cpp
	src/plugins/qt4projectmanager/qtversionmanager.cpp
2009-10-29 18:54:17 +01:00
Roberto Raggi
b921489a57 Process exception declarations. 2009-10-28 16:06:40 +01:00
con
68f193a189 Merge commit 'origin/1.3'
Conflicts:
	src/plugins/debugger/gdb/gdbengine.cpp
Needed changes:
        src/plugins/qt4projectmanager/qtversionmanager.cpp
2009-10-27 18:23:58 +01:00
Roberto Raggi
38d3ded832 Set the `virtual' attribute of a function definition. 2009-10-27 15:00:57 +01:00
Roberto Raggi
9ff5676e72 Introduced FullySpecifiedType::copySpecifiers() 2009-10-27 15:00:57 +01:00
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
con
bac9c64f93 Merge commit 'origin/1.3' 2009-10-26 15:48:26 +01:00
Roberto Raggi
fe9b4458c6 Fixed the #include directive. 2009-10-26 15:21:21 +01:00
con
441ece365a Merge commit 'origin/1.3'
Conflicts:
	src/plugins/cpptools/cppcodecompletion.h
	src/plugins/debugger/gdb/gdbengine.cpp
	src/plugins/qmleditor/QmlEditor.pluginspec
2009-10-26 13:51:56 +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
Oswald Buddenhagen
c9f9310bb1 Merge remote branch 'origin/1.3'
Conflicts:
	src/plugins/cpptools/cppcodecompletion.cpp
	src/plugins/debugger/gdb/remotegdbadapter.cpp
2009-10-20 20:09:00 +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
con
263d559e86 Merge commit 'origin/1.3' 2009-10-13 17:29:47 +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
con
7ecbfbe6d2 Merge commit 'origin/1.3' 2009-10-09 20:15:17 +02:00
Erik Verbruggen
d61eb9c893 Syntax highlighting for Objective-C identifiers (super, self, nil, Nil, _cmd, SEL, IMP, BOOL, YES, NO, id). 2009-10-09 15:23:19 +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