1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 02:06:01 +02:00
Commit graph

502 commits

Author SHA1 Message Date
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
Andrew Niefer
efc3b9c4ab bug 69744 - better error handling around catch blocks 2004-07-12 19:43:57 +00:00
Andrew Niefer
610efadb58 fix bug 69798 2004-07-12 18:46:41 +00:00
Andrew Niefer
e560975741 fix memory leak in the symbol table.
also fix a couple of places that were still doing symbol forwarding the old way
2004-07-12 14:16:50 +00:00
Andrew Niefer
226defa14a bug 69296 - remove ILineOffsetReconciler 2004-07-09 15:06:59 +00:00
Andrew Niefer
b8324eb1a0 bugs 68623 & 69428 - fix up parsing of constructor initializers 2004-07-08 21:32:20 +00:00
Andrew Niefer
d16e76a28e Bug 68931 - fix problem reporting in simple type specifiers 2004-07-08 17:21:24 +00:00
Andrew Niefer
3e388658d9 Bug 61800: Lookup failing on definition of static field
fix problems with forward declarations of static fields/variables.
2004-07-07 21:54:23 +00:00
Andrew Niefer
c9c666335f Refactoring pst.TypeInfo for memory performance. see parser.changelog
this is a small step toward a faster parser
(see bugs 59468, 54040, 60902, et al)
2004-07-07 20:15:06 +00:00
John Camelon
eadef182c2 Added Ed Burnette's failed tests. 2004-07-05 14:41:18 +00:00
Bogdan Gheorghe
c59364cdd5 Fix for 67656: [Indexer] getting called twice after creating a project with a file system 2004-06-29 06:42:47 +00:00
John Camelon
942779ea3e Partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=60407 2004-06-28 12:27:09 +00:00
Bogdan Gheorghe
c95ad28dcb Fix for Bug 67987: [Search] C Search results do no show up as editor annotations 2004-06-28 05:16:32 +00:00
Bogdan Gheorghe
39fd1475ba Indirect fix for Bug 65551: [Search] Search for Variable references should not include parameters
Instead of excluding parameter references from searches, added parm declarations to the index (for
both functions and methods)
2004-06-25 20:43:44 +00:00
John Camelon
78cc9ee282 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=68527 2004-06-24 18:51:49 +00:00
John Camelon
552805bba5 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=43021 2004-06-24 16:06:27 +00:00
Doug Schaefer
7ae8c88828 Scanner2 - fixed some bugs. fixed some of the tests to report better errors,
changed the SpeedTest to produce more accurate numbers.
2004-06-23 20:17:49 +00:00
John Camelon
3783f1b7be Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=68306 2004-06-23 18:24:41 +00:00
Doug Schaefer
d94a068c23 Scanner2 - fixed the nextToken() to match previous scanner's behavior. 2004-06-23 15:01:50 +00:00
Doug Schaefer
b97efa10b3 Scanner2 - final changes to scan the trilogy. 2004-06-23 11:36:05 +00:00
John Camelon
36ec31dca2 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=65610<BR>
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=65623
2004-06-23 00:18:14 +00:00
Andrew Niefer
b8c65f150f tests to show that bug 68235 is not our problem 2004-06-22 21:48:31 +00:00
Doug Schaefer
112cf2a908 Scanner2 - some more minor fixes. I'm getting close to the trilogy... 2004-06-22 21:03:53 +00:00
Andrew Niefer
d75195c520 fix for bug 68229 - problems with IToken.getNext() around places where subscanners are used 2004-06-22 20:38:34 +00:00
John Camelon
70f786631a Added long-line test case to QuickParseASTTests. 2004-06-22 15:15:58 +00:00
Andrew Niefer
dbcc3f2792 fix parsing of unary ampersand cast on an expression result 2004-06-21 21:35:04 +00:00
John Camelon
58d2390a65 Cached SimpleTypeSpecifiers in the CompleteParseASTFactory. Reduced parse footprint by a couple of MB. 2004-06-21 20:24:36 +00:00
Alain Magloire
a443caeb08 2004-06-18 Alain Magloire
This was heavy and lots of files were change.  The problem: to create the CElementInfo we use
	to synchronize of the CModelManager singleton instance, this was handy and allowed us to serialize
	the creation of the proxy info and save in the LRU cache.  Then came Eclipse-3.0 with job spawning
	everywhere, lots of deadlock since the CModelManager was lock and the singleton is the center
	to get all the info.  We use the same scheme as the JDT by using a ThreadLocal class cache
	to collect the information.  We fixed a couple of bug allong the way and probably introduce some.

	The tests were doing something stupid, by creating directly the TranslationUnit:
		new TranslationUnit(project, file);
	This does not work since only the sourceRoot can be the parent
	of a TranslationUnit, the tests are now fix bug we should restrict access of the class in the core model
	after 2.0.
2004-06-19 02:43:04 +00:00
John Camelon
03d8731b43 Added caching of type ID's in completeparse mode. 2004-06-18 18:54:00 +00:00
John Camelon
59f4a03242 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=67834. Thanks to Dave for the JUnit test. 2004-06-18 15:49:21 +00:00
Andrew Niefer
0454da5130 bug 67680 - better error handling around problems in the base clause specifier
fixes class cast exception
2004-06-18 15:25:56 +00:00
Doug Schaefer
8a05f34b0b Scanner2 - lots of little things trying to properly scan windows/stdio/iostream. 2004-06-17 21:27:37 +00:00
John Camelon
67ad3bb4b0 Fixed ClassCastException in CompleteParseASTTest. 2004-06-17 17:29:12 +00:00
John Camelon
6f1acede84 Patch for David Daoust - Fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=67622.<BR>
Also added 2 JUnit tests to verify.
2004-06-17 16:11:07 +00:00
Doug Schaefer
e92ee9c4db Added undef support, including remove method for CharArrayMaps. 2004-06-17 15:25:34 +00:00
Doug Schaefer
dec4af0b71 Got inclusions working, almost there for the speed test.... 2004-06-16 20:55:10 +00:00
Doug Schaefer
ed0afd6243 Scanner2 - added char literals and string concatenation. 2004-06-16 17:42:35 +00:00
Doug Schaefer
a259c14511 Fixed handling of defined() in expression evaluator. 2004-06-16 13:51:55 +00:00
Doug Schaefer
f88eb2a537 More fun with Scanner2, including a new Expression Evaluator. 2004-06-15 21:11:29 +00:00