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

451 commits

Author SHA1 Message Date
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
Doug Schaefer
a206e32d2a Changed the interface to the Scanner to take a CodeReader object.
A CodeReader simply contains a char[] and the name of the file, if any,
that the char[] is the contents of. This leads us down the path of using
char[]s in the parser instead of Strings in an attempt to cut down on
our memory usage.
2004-06-04 21:01:48 +00:00
Andrew Niefer
88bb7ba72b better cleanup after recursive template loop. 2004-06-04 15:39:39 +00:00
John Camelon
157f44eef3 Submitted tests to validate fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=61972 2004-06-04 15:03:15 +00:00
John Camelon
f8ede5731b Patch for David Daoust - remove all instances of sub-Scanners in the scanner. Performance gains abound. 2004-06-04 14:27:46 +00:00
Doug Schaefer
18ef4dfec9 Update to the speed test. 2004-06-03 19:38:06 +00:00
Andrew Niefer
b6aed83db2 fix bug 64939 - recursive loop 2004-06-03 18:48:17 +00:00
Doug Schaefer
34bb8dd348 Added a speed test so that I can track the progress of the parser performance work. 2004-06-03 12:53:47 +00:00
John Camelon
1193d6341a Fixed bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=47752 <BR>
Fixed bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=64321
2004-06-03 00:38:37 +00:00
John Camelon
fb57293d47 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=52988 <BR>
Moved KeywordSets.Key to its own class and thus removing the dependency between the Scanner/Parser to the static Keyword Set tables (improves footprint).  <BR>
Updated CompletionEngine to not set the parser timeout if the value entered is <= 0 (to allow for easier debugging and profiling).
2004-06-02 23:14:20 +00:00
John Camelon
bf8c96a8b1 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=64271 2004-06-02 17:39:45 +00:00
John Camelon
3394347e31 Further caching in the CompleteParseASTFactory. 2004-06-02 14:53:20 +00:00
Andrew Niefer
0cbc0f095d fix warning 2004-06-01 21:55:13 +00:00
Andrew Niefer
cb4ec57f90 Make the TypeInfoProvider non-static 2004-06-01 21:52:40 +00:00
John Camelon
20a1cd8f35 Pooled class and variable references.
Cleaned up ASTFactory construction.
2004-06-01 21:11:08 +00:00
Andrew Niefer
441bdd65c8 fix up handling of defered template instances (a better fix for 64919) 2004-06-01 20:16:15 +00:00
Andrew Niefer
d4c76e1e98 fix bug 64919 - stack overflow in symbol table 2004-06-01 18:58:28 +00:00
Doug Schaefer
59694ccf88 Removed the ScannerData object and moved it's fields right into the Scanner.
Made all users of getChar in the scanner call getChar(boolean) directly
to remove the extra call to getChar(void). Merged readFromStream in as well.
Finally, I have remove the trigraph code to remove the checks for every character.
A bug will be raised to reimplement this functionality elsewhere.
2004-06-01 15:16:55 +00:00
Doug Schaefer
bee373939f Removed the ScannerData object and moved it's fields right into the Scanner.
Made all users of getChar in the scanner call getChar(boolean) directly
to remove the extra call to getChar(void). Merged readFromStream in as well.
Finally, I have remove the trigraph code to remove the checks for every character.
A bug will be raised to reimplement this functionality elsewhere.
2004-06-01 15:04:28 +00:00
Andrew Niefer
9c8337b751 -fix bug 64753
-also put in temporary fix for symbol table tests failing when run as
plugin tests but passing when run just as junits
2004-05-31 20:12:17 +00:00
Andrew Niefer
6d52df8fcd pool some TypeInfos. This reduces memory allocated by about 3 megs during a parse of iostream & windows.h 2004-05-31 18:29:33 +00:00
Doug Schaefer
c839041374 New character array utilities that should make things much faster, one day... 2004-05-28 20:53:35 +00:00
Andrew Niefer
a7e23f8c15 remove warnings 2004-05-28 14:54:58 +00:00
John Camelon
cf2a2a38e8 Further footprint optimization in parser and scanner. 2004-05-28 03:25:16 +00:00
Andrew Niefer
361017e5d4 performance changes, use ArrayList instead of LinkedList, reduce use of iterators. saves 5% 2004-05-27 19:00:09 +00:00
John Camelon
1f636f83b5 Footprint optimizations for ITokenDuple implementations. 2004-05-27 03:32:18 +00:00
David Inglis
3f5fd52006 fixed up test to prevent some deadlocking 2004-05-26 14:47:35 +00:00
Alain Magloire
40f9982534 Update the necessary classes to use the new
ResolverModel.
2004-05-26 02:59:50 +00:00
John Camelon
895266aebe Partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=63966 2004-05-26 01:11:00 +00:00
Alain Magloire
285254ad4e Major Patch from Sam Robb
bring to a close PR 52864.
2004-05-25 23:48:56 +00:00