Commit Graph

79 Commits

Author SHA1 Message Date
Roberto Raggi
a9e980c0c7 Apply the decl specifiers. 2010-08-09 15:19:10 +02:00
Roberto Raggi
463f83630f Speed up the comutation of the local members. 2010-08-06 11:35:00 +02:00
Roberto Raggi
893e647306 Use the location of the unqualified name id. 2010-07-20 12:55:08 +02:00
Erik Verbruggen
867bf3dae8 Fixes for scope range calculation. 2010-07-19 10:42:32 +02:00
Erik Verbruggen
c4b03574ab Moved startOffset/endOffset from Symbol to Scope. 2010-07-16 16:04:58 +02:00
Erik Verbruggen
cb4104e171 Changed startOffset to point to the start of the scope. 2010-07-16 16:04:58 +02:00
Roberto Raggi
adfdb51660 Recursive definition of CPlusPlus::QualifiedNameId.
Done-with: Erik Verbruggen
2010-07-12 15:10:00 +02:00
Erik Verbruggen
3c3af9c25b Fixed return-type checking for ObjC methods. 2010-06-18 09:10:11 +02:00
Bill King
7f505011b2 Fix dead/unnecessary code. 2010-06-11 13:37:01 +10:00
Erik Verbruggen
d4e1a24daa Fixed off-by-1-token for symbol end offsets. 2010-05-28 16:29:52 +02:00
Erik Verbruggen
dfadb0d076 Added support for the GCC "unavailable" attribute. 2010-05-26 13:56:34 +02:00
Roberto Raggi
15641165f9 Removed deprecated (and unsafe) methods. 2010-05-10 13:46:12 +02:00
Roberto Raggi
2023cf1e4e Propagate the Friend specifier. 2010-05-10 09:57:56 +02:00
Roberto Raggi
c35bb4226b Introduce Namespace aliases and store the TranslationUnit instead of the Control. 2010-05-05 16:36:45 +02:00
Roberto Raggi
e421d32147 Postpone the parsing of function definitions. 2010-03-30 16:59:07 +02:00
Roberto Raggi
c05e11b165 Set and propagate the `auto' specifier. 2010-03-24 15:06:50 +01:00
Erik Verbruggen
9efa5d940a Added __attribute__ visiting, and storing of the deprecated attr. 2010-03-23 14:15:45 +01:00
Roberto Raggi
273a64bbeb Fixed possible leaks when processing friend template classes and template constructors. 2010-03-19 11:09:35 +01:00
Erik Verbruggen
61132f260c Fixed Q_ENUMS/Q_FLAGS parsing of enum names. 2010-03-17 10:30:17 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Roberto Raggi
ca34e0c043 Compile with gcc -pedantic. 2010-02-25 12:39:39 +01:00
Erik Verbruggen
d215737df8 Added semantic checks for Q_PROPERTY declarations. 2010-02-22 09:27:44 +01:00
Erik Verbruggen
c79f25d5a6 Fixed Q_PROPERTY parsing to handle all possible cases. 2010-02-16 17:04:26 +01:00
Erik Verbruggen
4df9b37542 Fixed local usage highlighting for ObjC message parameters. 2010-02-11 10:02:00 +01:00
Erik Verbruggen
1af05166d9 Removed Q_DECLARE_FLAGS parsing, leaving it to the CPP to expand it. 2010-02-08 15:41:18 +01:00
Erik Verbruggen
b58cb740e5 Changed ObjC message arguments to have SimpleName for the name part. 2010-02-08 09:34:51 +01:00
Erik Verbruggen
7b913f7fa2 Changed Q_PROPERTY parsing and AST storage. 2010-02-07 10:49:03 +01:00
Erik Verbruggen
21488e8898 Added semantic checks for Q_ENUMS. 2010-02-07 10:49:03 +01:00
Erik Verbruggen
8d8b05da5a Reworked parts of the QtPropertyDeclaration parsing and handling. 2010-02-07 10:49:03 +01:00
Erik Verbruggen
ae0ee18a77 Removed #ifdefs so all AST nodes are always there.
Also removed the (conditional) invoke_token from DeclarationAST and use
the qt_invokable_token to store the Q_INVOKABLE, and fixed the ASTMatch
code generation.
2010-02-04 12:15:32 +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
eb1baa9e2e Fix to selector parameter position. 2010-01-06 17:39:35 +01:00
Roberto Raggi
fef2ad6bba Create TypenameArgument symbols. 2009-12-08 12:20:14 +01:00
Roberto Raggi
5a0b7f8ec8 Added initializers to the formal arguments. 2009-12-08 11:35:34 +01:00
Roberto Raggi
c4737c1fdf Store the names in a set. 2009-12-01 14:39:00 +01:00
Roberto Raggi
7c7ce13ac0 Use const names. 2009-12-01 12:46:23 +01:00
Roberto Raggi
fade61a8a9 Use const literals. 2009-12-01 11:46:36 +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
Erik Verbruggen
a6bbec2b56 Added symbols for property declarations. 2009-11-11 09:34:10 +01:00
Erik Verbruggen
72d4493fc2 Added scope calculation for Objective-C classes. 2009-11-11 09:21:06 +01:00
Roberto Raggi
0ae2d96a9b Fixed the AST field names. 2009-11-10 16:47:16 +01:00
Roberto Raggi
cdb1443219 Cleanup specifiers. 2009-11-10 16:20:13 +01:00
Roberto Raggi
98802456b3 Removed ObjCPropertyAttributeListAST
Done with Erik Verbruggen
2009-11-10 16:20:11 +01:00
Roberto Raggi
496ff15db3 Removed ObjCIdentifierListAST
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
36a0ea2bcb Removed DeclarationListAST node.
Done with Erik Verbruggen
2009-11-10 16:20:09 +01:00
Roberto Raggi
b921489a57 Process exception declarations. 2009-10-28 16:06:40 +01:00
Roberto Raggi
38d3ded832 Set the `virtual' attribute of a function definition. 2009-10-27 15:00:57 +01:00
Roberto Raggi
60902c69bc Set the `virtual' attribute. 2009-10-27 14:06:07 +01:00
Erik Verbruggen
56f755efe8 Changed ObjC context keyword comparison to use identifiers. 2009-10-20 12:48:23 +02:00