Roberto Raggi
5accc9664e
Forward the methods of Scope.
2010-08-11 15:25:17 +02:00
Roberto Raggi
b94af4e2e1
The method enclosingSymbol() should always return a ScopedSymbol.
2010-08-11 15:25:17 +02:00
Roberto Raggi
5248bdee70
Added warning(), error, and fatal() to Parser.cpp
2010-08-11 15:25:17 +02:00
Roberto Raggi
1458476c4e
Some cleanup in the diagnostic client.
2010-08-11 15:25:17 +02:00
Roberto Raggi
0f301f8679
New implementation of CPlusPlus::FindUsages
2010-08-10 15:19:32 +02:00
Roberto Raggi
646baadb59
Annotate EnumSpecifierASTs with the Enum symbols.
2010-08-09 17:17:50 +02:00
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
4ff3ee2ff0
Use Prototype instead of Function.
2010-08-05 17:53:14 +02:00
Roberto Raggi
9aa991d636
Refactored CPlusPlus::Function.
2010-08-05 17:53:14 +02:00
Roberto Raggi
ceb7cc132e
Check for valid names.
2010-08-05 12:57:52 +02:00
Roberto Raggi
1932ffd1c6
Highlight the virtual methods.
2010-08-03 17:35:02 +02:00
Roberto Raggi
6324bf4460
Introduced IdExpressionAST.
2010-08-02 12:52:12 +02:00
Erik Verbruggen
42e34d6cd2
Removed debug output.
2010-07-29 14:15:11 +02:00
Erik Verbruggen
8a62bc455e
Changed parser debug output to include token ahead.
2010-07-29 12:11:54 +02:00
Erik Verbruggen
5bf0ba0b85
Clarified that the Symbol's line/column are 1-based.
2010-07-26 13:07:19 +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
fff4203a46
Introduced helpers to rewrite types and names.
...
Done-with: Erik Verbruggen
2010-07-16 11:04:52 +02:00
Roberto Raggi
adfdb51660
Recursive definition of CPlusPlus::QualifiedNameId.
...
Done-with: Erik Verbruggen
2010-07-12 15:10:00 +02:00
Roberto Raggi
84ebb1048d
Moved CheckUndefinedSymbols to the cpptools plug-in.
2010-07-05 17:35:54 +02:00
Roberto Raggi
1ff095eec2
Fixed possible crash when asking for the firstToken of an incomplete base class specifier.
2010-07-05 17:09:06 +02:00
Roberto Raggi
0f2a24641b
Get rid of NumericLiteral::isChar/isWideChar().
2010-07-01 15:27:36 +02:00
Erik Verbruggen
11443b32dd
Regenerated firstToken/lastToken methods.
2010-06-24 10:25:17 +02:00
Erik Verbruggen
8744dab398
Fixed fistToken/lastToken for BaseSpecifierAST.
2010-06-23 16:35:06 +02:00
Roberto Raggi
fea6c1cf8c
Renamed LambdaCapture::default_capture.
2010-06-23 14:42:59 +02:00
Roberto Raggi
da817310c2
Get rid of PostfixExpressionAST and store the base expression together with the PostfixAST nodes.
2010-06-23 14:39:14 +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
1ec0c1108e
Removed unused member.
2010-06-04 11:15:39 +02:00
Erik Verbruggen
708720605d
Suppress false positives generated by some code-checking tools.
2010-06-04 11:15:38 +02:00
Erik Verbruggen
ea2054a945
Fixed uninitialized members.
2010-06-04 11:15:38 +02:00
Roberto Raggi
53e775cbde
Return valid tokens for the Objc nodes.
2010-06-03 16:38:59 +02:00
Roberto Raggi
efc01fd994
Fixed ClassSpecifierAST::lastToken() to return a valid token.
2010-06-01 11:44:34 +02:00
Roberto Raggi
283019a44a
Fixed possible crash when parsing template declarations at the end of a C++ file.
2010-05-31 16:01:27 +02:00
Erik Verbruggen
d4e1a24daa
Fixed off-by-1-token for symbol end offsets.
2010-05-28 16:29:52 +02:00
Roberto Raggi
e343b33342
Check for possible 0x0 accesses.
2010-05-28 11:15:08 +02:00
Erik Verbruggen
25d7933d7a
Fixed __attribute__ parsing after struct declarations.
...
Task-number: QTCREATORBUG-1358
Reviewed-by: Roberto Raggi
2010-05-27 14:22:53 +02:00
Erik Verbruggen
dfadb0d076
Added support for the GCC "unavailable" attribute.
2010-05-26 13:56:34 +02:00
Erik Verbruggen
51fbf9695c
Added support for the GCC "unavailable" attribute.
2010-05-26 13:49:06 +02:00
Roberto Raggi
b68a16f1b5
Highlight user defined types.
2010-05-25 17:15:22 +02:00
Roberto Raggi
a4245c174a
Improved recovering from errors inside template declarations.
2010-05-25 17:15:21 +02:00
Roberto Raggi
ec5b235fbe
Disabled parsing of C++0x initializer-list.
2010-05-21 10:51:09 +02:00
Erik Verbruggen
36a3679902
Fixed ObjC selector name creation.
2010-05-20 12:54:59 +02:00
Roberto Raggi
c2f2317507
Check for valid translation units.
2010-05-10 16:21:55 +02:00
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