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

540 commits

Author SHA1 Message Date
John Camelon
7fb669d877 Moving Macro to the right package. 2004-08-31 14:31:57 +00:00
John Camelon
679764813d Fixed 72530 - Merge ExpressionParser & Parser back together 2004-08-30 19:45:33 +00:00
John Camelon
6dc6b84d4b Fixed 72527 - [Scanner] Remove Scanner, ScannerException & clean up IScanner interface 2004-08-30 15:17:40 +00:00
John Camelon
76f927a165 Adjust IIncludeTest to avoid failure re: bug 72506 2004-08-24 15:07:40 +00:00
Andrew Niefer
72ff239e40 fix 72219 2004-08-23 19:28:03 +00:00
Alain Magloire
abe7507cd5 Match the changing API of the Resolver Model. 2004-08-20 20:31:44 +00:00
John Camelon
b9768b37d5 Fixed Bug 71839 [Parser] Parser in infinite loop (ExpressionParser.errorHandling()) 2004-08-19 03:29:26 +00:00
John Camelon
4c6cfc77cf Fixed Bug 71530 [Scanner] CModel Line Numbers are incorrect w/Scanner2 2004-08-16 19:55:45 +00:00
Alain Magloire
0df0f3cbdd 2004-08-15 Alain Magloire
First draft, work in progress.
	Removing ResolveDelta to make the ResolverChange processing easier.
	* src/org/eclipse/cdt/core/filetype/IResolverChangeListener
	* src/org/eclipse/cdt/core/filetype/ResolverChangeEvent.java
	* src/org/eclipse/cdt/core/internal/filetype/CFiletTypeResolver.java
	* src/org/eclipse/cdt/core/internal/filetype/ResolverModel.java
2004-08-16 04:03:53 +00:00
Andrew Niefer
df84ae7f47 fix bug 70073 2004-08-12 19:44:54 +00:00
Andrew Niefer
93473dfe71 update failing test for 71588 2004-08-11 20:25:39 +00:00
Andrew Niefer
0bbf50fc98 fix 71331 2004-08-11 20:02:42 +00:00
Bogdan Gheorghe
9df1ac81b8 Fix for Bug 59493: need to refine index query for open-type 2004-08-11 19:50:26 +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
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
cd9edbcd4f Adding additional test cases for bugs fixed indirectly through the IScanner rewrite. 2004-08-10 17:18:22 +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
8397b85e00 Removed warning. 2004-08-06 13:11:36 +00:00
John Camelon
78c69dda4f Updating Scanner2Test to include the same coverage as ScannerTestCase. 2004-08-06 13:11:13 +00:00
John Camelon
6544ff498d Restructured the Parser tests so that the GCC Extension specific ones are separate.
Created a GCCExtensions Suite which currently is not included in ParserTestSuite.
2004-08-06 01:57:11 +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
3a9bfe8d4b Removed warnings. 2004-08-05 21:47:27 +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
8142a5cf4e update Scanner2Test.testBug36521 2004-08-05 19:11:38 +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
John Camelon
782c269d97 Patch for Vlad Hirsl.
This patch adds two JUnit tests for problems generated while parsing<stdio.h>.
2004-07-29 19:39:52 +00:00
John Camelon
d134c5e5d3 Further Scanner2 work and improvements. 2004-07-29 14:31:21 +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
Andrew Niefer
7f0142b2e8 Replacing strings with char arrays 2004-07-22 19:32:56 +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
a17096c97e Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=69872.
Moved TimeOut to parser public package in src/ and renamed it to ParserTimeOut.
See resolution description in the defect for more details.
2004-07-21 17:57:57 +00:00
John Camelon
81a765a048 Add toCharArray() to ITokenDuple. Add getCharImage() to IToken. 2004-07-21 14:32:55 +00:00
Andrew Niefer
58562529e5 Further transition away from java.util collections in the symbol table 2004-07-20 20:22:07 +00:00
John Camelon
826dbd3f7d Further Scanner2 migration work. 2004-07-19 19:41:13 +00:00
John Camelon
1b2ac0d808 Further Scanner2 work. 2004-07-18 21:17:10 +00:00
John Camelon
cd1605463c Minor cleanups. 2004-07-16 18:47:37 +00:00
Andrew Niefer
658a98966c Start of removing java.util containers from the symbol table. 2004-07-15 21:01:58 +00:00
Doug Schaefer
739203fe55 Upversioning head to 2.1.0. 2004-07-15 15:54:47 +00:00
John Camelon
96ddf17ee8 Updated Scanner2Test. 2004-07-15 14:01:46 +00:00
John Camelon
551a9b7bae Further progress w/Scanner2. 2004-07-15 13:58:08 +00:00
Andrew Niefer
450023d505 fix bug 69662 - conversion operator definitions 2004-07-13 19:23:43 +00:00
Andrew Niefer
11f779dbd9 fix bug 68739 - open declaration on fprintf 2004-07-13 17:55:00 +00:00
Andrew Niefer
af4317e0a4 fix bug 69745 2004-07-12 20:59:31 +00:00