1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
Commit graph

634 commits

Author SHA1 Message Date
Andrew Niefer
c2f1517d54 fix parsing international files
bug 70852, 70927
2004-08-13 19:52:32 +00:00
John Camelon
c827e9e543 Fix a few NPE's. 2004-08-13 18:58:56 +00:00
Andrew Niefer
01798aba6b oops. fix ArrayOutOfBoundsException 2004-08-13 14:41:26 +00:00
Andrew Niefer
df84ae7f47 fix bug 70073 2004-08-12 19:44:54 +00:00
Andrew Niefer
c18839fd5b fixing 71588 2004-08-11 20:20:12 +00:00
Andrew Niefer
0bbf50fc98 fix 71331 2004-08-11 20:02:42 +00:00
Andrew Niefer
7944065574 from a patch originally from Dave Daoust, consolidate the Scanner2 data
structures into a heirarchy, and for the char[] maps/sets, if the capacity is
<= 2, then don't use the hash and just do a linear search.

also clean up a couple of uses of ObjectSet that had size 0 in the symbol table,
use EMPTY_SET insteard.
2004-08-11 17:56:01 +00:00
Andrew Niefer
04b2ae06b5 Add IASTQualifiedNameElement.getFullyQualifiedNameCharArrays()
and modify Search to take advantage of the IAST providing char[]s.
2004-08-10 20:40:14 +00:00
John Camelon
791e958905 Fixed Bug 70928 [Parser] Indexer complains about __cdecl 2004-08-10 19:52:20 +00:00
Andrew Niefer
e803a76b2a fix bug 71410.
move test FailedCompleteParseASTTest.testInheritsFromTemplateParameter_bug71410()
to CompleteParseASTTemplateTest.java
2004-08-10 19:33:52 +00:00
John Camelon
7645cbc478 Fixed 71656 - [Parser] Infinite Loop on Out of Memory Exception 2004-08-10 17:39:05 +00:00
Andrew Niefer
0c2fcb2413 fix bug 71669 2004-08-09 18:44:52 +00:00
Andrew Niefer
8a46210f8c - fix problem with content assist when there are macros & header files
- fix small problem which resulted in possible erroneus scanner problems while macro pasting
2004-08-07 18:37:25 +00:00
Vladimir Hirsl
f47c792501 Added JUnit tests for following PRs (discovered during parsing of <iostream> header file):
69751, 70928, 71317, 71331, 71410, 71588, 71603.

Also a small fix for parser Problem class after String to char[] optimization.
2004-08-06 21:14:55 +00:00
Andrew Niefer
d38225d581 - add IProblem reporting to Scanner2
- modify function macro handling to fix test for bug 62009
- modify Search's use of the scanner to fix FunctionMethodPatternTest::testOperators_bug43063_bug42979
2004-08-06 19:42:57 +00:00
John Camelon
abe2eac5c3 Add __declspec support to Scanner2. 2004-08-06 14:07:01 +00:00
John Camelon
df2be63243 Scanner2 + entire UI AutomatedSuite now pass. 2004-08-06 00:57:15 +00:00
John Camelon
33075ba9ae Further Scanner2/Content Assist work - making CA work for ppDirectives. 2004-08-05 23:26:03 +00:00
John Camelon
9e4777cd49 Fixed a bunch of ui.tests for content assist w/Scanner2. 2004-08-05 22:36:35 +00:00
John Camelon
7151e214e8 Add __signed__ keyword to Scanner2. 2004-08-05 21:51:38 +00:00
John Camelon
bbb4bddce2 Remove IMacroDescriptor dependency upon IASTMacro. 2004-08-05 21:46:46 +00:00
John Camelon
a6f95db7c2 Further Scanner2 progress w/Line Numbers & Content Assist. 2004-08-05 20:33:23 +00:00
Andrew Niefer
7d757bfbc2 partial fix for function macro argument substitution, this will be enough
to let Scanner2.testStringify and the tests for 60764, 36047 to pass.
2004-08-05 19:56:50 +00:00
Andrew Niefer
a502b9fbc6 -Implement Scanner2.getDefinitions
-fix up macro stringizing, repairs broken tests for 36509 & 36701
2004-08-05 19:05:06 +00:00
John Camelon
8c3a9a10b1 Further progress in making Scanner2 pass the IIncludeTests. 2004-08-05 17:48:22 +00:00
John Camelon
fd62bdd86c Activated Scanner2 in HEAD.
Forgive me Lord, for I know what I do.
2004-08-05 15:22:00 +00:00
John Camelon
903d1ac7a8 Fixed defects 71094 & 68528. 2004-08-04 19:26:31 +00:00
Andrew Niefer
d4261f7fc8 Switch PST templates to use ObjectMap instead of HashMap
Remove use of Stack in the parser (replaced where necessary with custom
implementation)
2004-08-03 21:21:11 +00:00
Andrew Niefer
c6c90a1e95 further removal of iterators 2004-08-03 15:12:09 +00:00
Alain Magloire
fa38a77470 2004-07-30 Alain Magloire
In the StrutureParseCallback add the
		IASTUsingDirective
		IASTUsingDeclaration
	part of the return declarations
	* org/eclipse/cdt/internal/core/parser/ast/StructuralParseCallback.java
2004-07-30 19:11:05 +00:00
Andrew Niefer
9ffd548ae7 remove LinkedLists, start reducing the use of Iterators 2004-07-29 21:08:36 +00:00
Andrew Niefer
b5edc37774 Fix CompleteParseASTExpressionTest.testPrimaryCharLiteral under Scanner2 2004-07-29 17:36:51 +00:00
John Camelon
d134c5e5d3 Further Scanner2 work and improvements. 2004-07-29 14:31:21 +00:00
Andrew Niefer
89010e954f cleaning up more strings 2004-07-28 21:48:27 +00:00
Andrew Niefer
0dda631a21 modify Scanner2.scanIdentifier wrt escaped newlines.
remove a couple of uses of String
2004-07-28 20:53:13 +00:00
John Camelon
a7fcc4aa84 Scanner2 fixes for SelectionSearch & Content Assist JUnit failures. 2004-07-28 20:28:15 +00:00
John Camelon
ccb8357725 Further Scanner2 junit fixes. 2004-07-28 19:28:40 +00:00
John Camelon
c24ed6aa2a Further Scanner2 work regarding macro expansions. 2004-07-27 19:18:19 +00:00
Andrew Niefer
b08d93dfd7 last of string to char[] changes 2004-07-27 18:13:49 +00:00
Andrew Niefer
f9b6ff9584 fix problem with Keywords.cpSEMI 2004-07-27 17:35:01 +00:00
Andrew Niefer
d3dedc7ac9 fix problem introduce by my last patch 2004-07-27 16:11:26 +00:00
Andrew Niefer
2474e4f8b6 more string to char[] changes. savings of about 10 meg (old scanner) 2004-07-27 15:51:46 +00:00
Andrew Niefer
3a58a1be85 More string to char[] changes. savings of about 4 Meg on this one. 2004-07-27 14:55:57 +00:00
Andrew Niefer
18d9318d4d More replacing strings with char[]. This patch brings the memory back
down to a little less than what it was before my last patch.
2004-07-22 21:32:43 +00:00
Andrew Niefer
7f0142b2e8 Replacing strings with char arrays 2004-07-22 19:32:56 +00:00
John Camelon
05fa0e698c Start of line number support for Scanner2. 2004-07-22 19:02:45 +00:00
John Camelon
cb47b164a0 Further improve SelectionSearch w/Scanner2. 2004-07-22 18:47:50 +00:00
John Camelon
12268e9104 Added getFilename() to IToken, ITokenDuple & IASTOffsetableNamedElement.
This improves the accuracy of selection search w/the new scanner (and without).
2004-07-22 18:38:26 +00:00
John Camelon
49b74b0eea Add local inclusion capability to Scanner2. 2004-07-22 13:35:12 +00:00
John Camelon
98f3ab7804 Initial SelectionSearch support for Scanner2. 2004-07-21 20:16:43 +00:00