cvs2svn
4f3559d20d
This commit was manufactured by cvs2svn to create branch 'cdt_2_0'.
...
Cherrypick from master 2004-07-07 20:15:06 UTC Andrew Niefer <aniefer@ca.ibm.com> 'Refactoring pst.TypeInfo for memory performance. see parser.changelog':
core/org.eclipse.cdt.core/parser/org/eclipse/cdt/internal/core/parser/pst/TemplateParameterTypeInfo.java
core/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/search/CSearchMatch.java
2004-07-07 20:15:07 +00:00
Hoda Amer
b04b89db82
Propagating bug fixes to branch.
2004-07-06 17:32:45 +00:00
Doug Schaefer
ded9a06c42
Scanner2 - turned off gratuious logging and fixed an infinite
...
loop that occurred in figuring out the arguments to a macro.
2004-06-25 13:32:58 +00:00
John Camelon
97dcd10e64
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=68409
2004-06-24 21:21:19 +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
John Camelon
68640e20a9
Patch for David Daoust - Updated IBM Copyright notices
2004-06-23 20:31:49 +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
Alain Magloire
dbaa2dcea9
Part of PR 68246.
...
Close the inputstream to release resource handle
when we done with it, we can not rely on the GC to do it for us.
2004-06-23 03:32:16 +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
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
Doug Schaefer
b0040c1336
Scanner2 - sanity point - fixed some problems I was having with comments.
2004-06-22 19:20:10 +00:00
Doug Schaefer
27772d9655
Scanner2 - completed rewrite if function macro expansion.
2004-06-22 17:13:37 +00:00
Doug Schaefer
50da298959
Scanner2 - made a better hash function, added != to #if expressions,
...
started the rewrite of my macro expansion routines.
2004-06-22 14:34:37 +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
John Camelon
a353701633
Fix NPE in lookupSymbolInContext()
2004-06-21 17:09:49 +00:00
John Camelon
ef4eaa9e09
Deferred typeid reference list creation until absolutely necessary.
2004-06-18 19:58:21 +00:00
Andrew Niefer
57bc1229ab
better problem reporting when DeclarationWrapper.createASTNodes fails
2004-06-18 19:51:20 +00:00
John Camelon
5846544680
Remove NPE from ASTTypeId.getReferences()
2004-06-18 19:39:41 +00:00
John Camelon
efab1f2f3d
Final adjustment on error handling.
2004-06-18 19:25:36 +00:00
John Camelon
c167ba0976
Remove infinite loop on catching Throwable/Exception in Parser.translationUnit().
2004-06-18 19:17:29 +00:00
John Camelon
5cb25a3872
Fixed NPE in cleanup.
2004-06-18 19:00:58 +00:00
John Camelon
03d8731b43
Added caching of type ID's in completeparse mode.
2004-06-18 18:54:00 +00:00
Andrew Niefer
38230067bd
better error reporting to the callbacks around the base specifier
2004-06-18 16:02:54 +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
954d5b8b45
Partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=67634
2004-06-17 18:44:38 +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
Hoda Amer
55cf39aba4
Bug Fixing
2004-06-14 20:44:05 +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
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
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
Hoda Amer
6ffa80bd87
Bug Fixing
2004-06-10 14:36:45 +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
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