John Camelon
33a07a1b47
Partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=64318
2004-06-02 23:48:40 +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
5a685e501f
Fixed concurrent parse issue w/TypeId singleton.
2004-06-02 18:17:55 +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
cb4ec57f90
Make the TypeInfoProvider non-static
2004-06-01 21:52:40 +00:00
John Camelon
cb8b2e2d42
Fixed Andrew's latest template test.
2004-06-01 21:25:23 +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
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
9e483cb5fc
clean up imports ( fixes broken build )
2004-06-01 14:24:16 +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
495d77744b
reduce the use of iterators in the symbol table
2004-05-28 19:02:32 +00:00
John Camelon
cf2a2a38e8
Further footprint optimization in parser and scanner.
2004-05-28 03:25:16 +00:00
Andrew Niefer
fc34ca8ab5
reduce the size of the base LookupData from 72 to 40 bytes.
...
Use abstract classes instead.
This reduces the memory used by LookupData by 3 meg during a
parse of iostream and windows.h
2004-05-27 22:26:56 +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
dc9619b241
Further reduce memory footprint by trimming down Declarator and DeclarationWrapper classes.
2004-05-27 04:41:59 +00:00
John Camelon
1f636f83b5
Footprint optimizations for ITokenDuple implementations.
2004-05-27 03:32:18 +00:00
John Camelon
f9dae150ff
Removed unnecessary lists.
2004-05-26 18:56:01 +00:00
Andrew Niefer
e2aba75dbb
- Move cdt.internal.core.parser.util.ASTUtil to cdt.core.parser.ast
...
- Modify search to use ASTUtil for building function parameter strings
- Modify selection search to use parameter info in search (bug 63966)
2004-05-26 18:24:15 +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
Andrew Niefer
ef506f545b
fix bug 64010: if else if recursion looks like stack overflow
2004-05-25 22:20:43 +00:00
Andrew Niefer
c0ba9bebfc
fixing bug 62359 [Content Assist] failure on iostream in Linux
...
- fix problem during errorhandling
- fix operator function names
- fix NPE during template argument deduction
2004-05-25 18:42:30 +00:00
John Camelon
4e4b2fc233
Ensured BufferedReaders are used in the Scanner.
2004-05-25 18:31:25 +00:00
John Camelon
7b873687b6
Cleaned up translationUnit() backtracking.
2004-05-25 18:04:24 +00:00
John Camelon
29fdfabb37
Fixed loop-detection code in Parser:cInitializer.
2004-05-25 01:09:58 +00:00
John Camelon
18de33d8a9
https://bugs.eclipse.org/bugs/show_bug.cgi?id=62009
2004-05-25 00:47:19 +00:00
Andrew Niefer
4b1ecbf65b
bug 43014, 62979: Reporting IProblems encountered during indexing. Only preprocessor problems to start
2004-05-21 20:33:16 +00:00
John Camelon
a355b2cf1d
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=62728
2004-05-21 17:54:41 +00:00
John Camelon
129dd89591
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=62725
2004-05-21 15:31:24 +00:00
John Camelon
d595dc0508
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=62721
2004-05-21 15:01:57 +00:00
John Camelon
95d5594fd0
Fix content assist to work w/WorkingCopy again.
...
Further memory enhancements.
2004-05-20 21:40:56 +00:00
John Camelon
058f823d2e
Changed infinite-loop checking to use hashcodes rather than offsets, as offsets are not unique when we expand macros. <sigh>
2004-05-20 15:41:38 +00:00
John Camelon
6b63b8ab83
Add basecase to TokenDuple.createStringRepresentation
2004-05-20 01:43:44 +00:00
John Camelon
a3179774f5
Changed CModelBuilder & CompletionEngine to use buffered input streams rather than String/CharArray Readers
2004-05-20 00:25:33 +00:00
John Camelon
b87794dd73
Cleaned up token storage in the Parser to reduce peak memory usage upon parsing large expressions/initializers.
2004-05-19 21:50:52 +00:00
John Camelon
22c73dc031
Reduced the number of TokenDuple's instantiated during a parse. <BR>
...
Removed symbol table warnings.
2004-05-19 18:17:14 +00:00
John Camelon
9ebf2c9909
Patch for David Daoust: Removed extraneous StringBuffer objects from the Scanner.
2004-05-19 15:35:06 +00:00
John Camelon
4abe159ab8
Made significant footprint improvements to the parser.
2004-05-18 20:41:15 +00:00
John Camelon
09fd1318d0
Removed extraneous TokenDuple object creation.
2004-05-18 18:14:09 +00:00
John Camelon
a86bb76c6a
Removed warnings.
2004-05-17 23:37:25 +00:00
John Camelon
591d1d3a21
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=62390
2004-05-17 23:26:39 +00:00
John Camelon
cf81ad24a9
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=62515
2004-05-17 19:07:45 +00:00
John Camelon
787b5dfcc3
Removed warnings.
2004-05-17 18:16:43 +00:00
John Camelon
5706a3abe2
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=62384
2004-05-15 17:31:25 +00:00
John Camelon
c2b76e8109
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=62378
2004-05-15 17:11:34 +00:00
John Camelon
06d6b593af
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=62339
2004-05-15 15:13:10 +00:00