Commit Graph

29 Commits

Author SHA1 Message Date
Roberto Raggi
6618a3cd67 Removed TemplateParameters. 2010-08-11 15:25:19 +02:00
Roberto Raggi
354b9712e4 Merged ScopedSymbol and Scope. 2010-08-11 15:25:18 +02:00
Roberto Raggi
9aa991d636 Refactored CPlusPlus::Function. 2010-08-05 17:53:14 +02:00
Roberto Raggi
893e647306 Use the location of the unqualified name id. 2010-07-20 12:55:08 +02:00
Erik Verbruggen
3c3af9c25b Fixed return-type checking for ObjC methods. 2010-06-18 09:10:11 +02:00
Roberto Raggi
e421d32147 Postpone the parsing of function definitions. 2010-03-30 16:59:07 +02:00
Erik Verbruggen
9efa5d940a Added __attribute__ visiting, and storing of the deprecated attr. 2010-03-23 14:15:45 +01:00
hjk
9595504bda Long live the king! 2010-03-05 11:28:13 +01:00
Erik Verbruggen
e609e9a701 Simplified ObjC selectors in the AST. 2010-02-23 17:43:52 +01:00
Erik Verbruggen
8de6ccc775 Revert "Split Objective-C keyword parsing to handle the '@' separately."
This reverts commit 2a59d2ae0c.
2010-02-15 12:24:31 +01:00
Erik Verbruggen
2a59d2ae0c Split Objective-C keyword parsing to handle the '@' separately.
Because apparently, while designing the Objective-C language, somebody
thought it was a world-class idea to allow any white-space between the
'@' character and the subsequent keyword. With this fix, we now
correctly parse:
    @  dynamic
and:
    @
      selector
and:
    @"foo"
     "bar"
    @"mooze"
(This last one is 1 single string split over multiple lines.)
Wonderful, isn't it?

What we (and Clang) do not support, but what GCC supports is something
like:
   @"foo"@@  "bar"  @"mooze"  @@
which is equivalent to @"foobarmooze".
2010-02-15 09:27:00 +01:00
Erik Verbruggen
6ca5f5f5f8 Added semantic checks for compound expressions. 2010-02-07 10:49:02 +01:00
Roberto Raggi
7c7ce13ac0 Use const names. 2009-12-01 12:46:23 +01:00
Roberto Raggi
5eecdb3be0 Don't use std::map to store types. 2009-11-23 12:53:34 +01:00
Roberto Raggi
5d7def6d2a Refactored the AST visitors.
Now, the ASTVisitor constructor takes a valid reference to a TranslationUnit.
2009-11-17 13:30:39 +01:00
Erik Verbruggen
72d4493fc2 Added scope calculation for Objective-C classes. 2009-11-11 09:21:06 +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
380bce4527 Cleanup nested name specifiers 2009-11-10 16:20:12 +01: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
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
b713f1772a Added semantic checks for method declarations. 2009-07-31 13:22:32 +02:00
Erik Verbruggen
26267c0344 Improved ObjC parsing, and added semantic checks. 2009-07-28 16:34:15 +02:00
Roberto Raggi
3cdd48067c Introduced ForeachStatementAST and the bits to parse foreach statements when qtMocRun is enabled. 2009-07-03 09:12:58 +02:00
Roberto Raggi
fd8cd69a47 Introduced Document::CheckMode. 2009-06-26 09:11:14 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
hjk
fe0533de2a Fixes: move all files in shared/* to src/shared/* 2009-01-26 16:19:24 +01:00