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

480 commits

Author SHA1 Message Date
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
Doug Schaefer
b4fd69965f Update to Scanner2. 2004-06-15 03:37:56 +00:00
Doug Schaefer
5efea562b9 Added command line version of ScannerSpeedTest to check for aprof. 2004-06-14 18:29:52 +00:00
Doug Schaefer
b560898413 Checking in Scanner2 and friends. This should hopefully be a faster scanner
and set us up for using char[]'s up the stack.
2004-06-14 16:04:28 +00:00
Doug Schaefer
008ca93b73 Added command line version of ScannerSpeedTest to check for aprof. 2004-06-14 15:12:11 +00:00
John Camelon
85be18a5f9 Partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=65610 2004-06-14 14:02:22 +00:00
John Camelon
92d74a7ca9 Scanner fix for lost comment character within an #ifdef'ed out block. 2004-06-14 12:49:22 +00:00
Andrew Niefer
7bc8d33c1a fix bug 66744 2004-06-11 19:47:57 +00:00
Andrew Niefer
75fee20f69 fix bugs 43063 & 43498 2004-06-11 18:29:03 +00:00
John Camelon
dc9f25b601 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=60264 2004-06-10 19:33:38 +00:00
John Camelon
b7caa59093 Removed more warnings. Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=66543. 2004-06-10 18:51:47 +00:00
Alain Magloire
cccc50485c Patch from Sam Rob to resolve 64022 2004-06-10 00:06:15 +00:00
Andrew Niefer
8d55216fb7 fixing bug 65114, NPE in getParentClassSpecifier(), caused by template
lookup issues in the class base clause
2004-06-09 21:33:50 +00:00
Doug Schaefer
b9af09113a Added yellow dog to my speed test configs. 2004-06-09 20:07:10 +00:00
Andrew Niefer
e9c5a2b928 fix NPE for 65114. When returning references to the cache, we should also
remove them from the list they are in, so that we never try to return them
again (potentially after they had been reallocated)
2004-06-09 15:45:31 +00:00
Doug Schaefer
e1d46bbeed Updated the SpeedTest to allow for run time selection of configs and to support
the new ScannerSpeedTest which just tests the scanner.
2004-06-09 11:43:21 +00:00
Andrew Niefer
5ebfc42760 bug 49990 - strings for GCC expression extensions 2004-06-08 19:23:47 +00:00
Doug Schaefer
3d0734f6ca Update speed test to do multiple parses in a pass. 2004-06-07 19:34:15 +00:00
Andrew Niefer
5a66875392 bug 49990 - ASTUtil.getExpressionString( IASTExpression )
- created ASTUnaryIdExpression classes
- improved handling of POSTFIX_TYPENAME_TEMPLATEID expressions
- modified handling of initializer clause for new expressions
- expression toString() functions use ASTUtil
2004-06-07 19:25:24 +00:00
John Camelon
69a1d5f73d Moved KeywordSetKey to public interface.
Updated ParserFactory to allow querying upon different KeywordSetKey's.
2004-06-06 17:20:54 +00:00
John Camelon
da96e2c080 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=64268 2004-06-06 05:07:12 +00:00
John Camelon
a549ff4f27 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=65569 2004-06-06 04:23:22 +00:00
Doug Schaefer
c390aa43bf Update speed test to show token count. 2004-06-05 02:20:22 +00:00