Commit Graph

31 Commits

Author SHA1 Message Date
Roberto Raggi
15641165f9 Removed deprecated (and unsafe) methods. 2010-05-10 13:46:12 +02:00
Roberto Raggi
139087ee5c Introduced Symbol::copy(otherSymbol) and removed some deprecated code. 2010-05-10 12:19:47 +02:00
Roberto Raggi
702909372d Store the Control.
It seems that storing the TranslationUnit together with the Symbol
was a bad idea. Unfortunately, we release TranslationUnit(s) as
soon as we can, but we keep the Control around. So using the Control
is definitely safer.
2010-05-10 10:11:05 +02:00
Roberto Raggi
aab9c52030 More work on template instantiation. 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
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
Roberto Raggi
f7164ae9d4 Introduced TypenameArgument. 2009-12-08 12:20:13 +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
d80f0f07f4 Cleanup 2009-11-23 12:53:33 +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
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
5bee5dea13 Check the scope of class and fwd-class declarations 2009-10-13 12:21:05 +02:00
hjk
93cbef8724 long live the king 2009-08-14 09:30:56 +02:00
Erik Verbruggen
86a7b26fcd Fixed semantic checks for Objective-C methods and fast-enumeration. 2009-08-05 18:30:18 +02:00
Thiago Macieira
d0457b70e3 Compile the C++ parser library with Sun CC 5.9.
Things you mustn't do:
1) end an enum with a comma

2) #include <cxxxx> and not use std::

3) use anonymous structures

All three things are invalid C++. Anonymous structures inside
anonymous unions are allowed by GCC, but that doesn't mean it's valid.
2009-08-03 14:59:42 +02:00
Erik Verbruggen
26267c0344 Improved ObjC parsing, and added semantic checks. 2009-07-28 16:34:15 +02:00
Jason McDonald
884b7af769 Update license headers and sales contact details.
Reviewed-by: Trust Me
2009-06-17 00:01:27 +10:00
Roberto Raggi
590030428a typo 2009-06-03 15:17:58 +02:00
Roberto Raggi
19dd2b814f Added Symbol::enclosingNamespaceScope(), Symbol::enclosingClassScope(), and so on... 2009-06-03 14:15:49 +02:00
Roberto Raggi
a1ec4e2a94 Introduced Name::identifier().
Name::identifier() returns the identifier used to declare the name.
2009-05-28 11:49:59 +02:00
Roberto Raggi
d9812ac32c Fixed the signature of Symbol::getPosition() & co. 2009-03-31 14:46:46 +02:00
Roberto Raggi
8f84f81e6d Introduced startOffset(), endOffset(), getPosition(), getStartPosition(), and getEndPosition(). 2009-03-31 13:56:28 +02:00
Roberto Raggi
942f5a708a Ignore the symbol's column for generated symbols (at least for now). 2009-03-04 15:45:38 +01:00
Roberto Raggi
3d6f7de909 Context-sensitive highlighting. 2009-03-03 13:57:08 +01:00
hjk
8ca887aae2 Fixes: change file license headers to include LGPL 2009-02-25 09:15:00 +01:00
Roberto Raggi
ba78e075da Introduced support for forward class declarations. 2009-02-16 18:20:46 +01:00
Roberto Raggi
2f90539211 Reimplemented Symbol::as*() methods using virtual functions. 2009-02-09 16:15:02 +01:00
hjk
fe0533de2a Fixes: move all files in shared/* to src/shared/* 2009-01-26 16:19:24 +01:00