Roberto Raggi
efb600665d
Remember the T_TEMPLATE token we use to force the parser to recognize a template-id.
2010-08-12 12:29:12 +02:00
Thiago Macieira
740aadb7cd
Compile with Intel CC: va_copy isn't defined.
...
This looks like a compiler bug. Intel CC uses the GCC headers, but
they appear to be incompatible. Bug will be reported, but meanwhile
work around the problem.
Reviewed-By: Trust Me
2010-08-11 21:14:53 +02:00
Tobias Hunger
2106ffedc3
Really fix compile now.
2010-08-11 16:10:21 +02:00
Tobias Hunger
afa0736783
Build fix on windows
2010-08-11 16:08:30 +02:00
Roberto Raggi
2ebaf3fe5b
Get rid of the #warning directives.
2010-08-11 15:48:40 +02:00
Roberto Raggi
97d93ed32d
Enabled the template instantiation.
2010-08-11 15:34:28 +02:00
Roberto Raggi
f446363d63
Mark the templates.
2010-08-11 15:25:20 +02:00
Roberto Raggi
8a32c41f6f
Removed TemplateArgumentList
2010-08-11 15:25:20 +02:00
Roberto Raggi
41b4af0501
Get rid of the prefix findOrInsert for the functions in CPlusPlus::Control.
2010-08-11 15:25:19 +02:00
Roberto Raggi
f74ba9daef
Introduced CPlusPlus::Template and process the template declarations.
2010-08-11 15:25:19 +02:00
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
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