1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
Commit graph

533 commits

Author SHA1 Message Date
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
Andrew Niefer
5ebfc42760 bug 49990 - strings for GCC expression extensions 2004-06-08 19:23:47 +00:00
John Camelon
8b2e0e8b4d Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=65555 2004-06-08 17:57:37 +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
John Camelon
15e615de07 Fixed translationUnit exception handling to allow ParserErrors to propogate out. 2004-06-06 03:36:52 +00:00
John Camelon
cd01f65fe6 Removed warnings that Doug introduced. 2004-06-06 03:19:38 +00:00
Doug Schaefer
608ab71cce Got rid of the break we added to translationUnit which ended up bringing
untimely endings to the parse. Also added a fix for Dave to nextToken in
the scanner which resulted in the massive increase of char[]s.
2004-06-05 02:47:08 +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
effb8b9fdb Patch for David Daoust -Optimize the scanner to not tokenize the macro parameters if the expansion is null. 2004-06-04 15:30:09 +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
Andrew Niefer
b6aed83db2 fix bug 64939 - recursive loop 2004-06-03 18:48:17 +00:00
John Camelon
c3338eda94 Updated Parser.translationUnit() to catch all Throwable rather than Exception 2004-06-03 18:23:56 +00:00
John Camelon
a3995849f5 Put a public interface on accessing KeywordSets in ParserFactory.<BR>
Added preprocessor directives to KeywordSetKey.ALL.
2004-06-03 17:59:43 +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
d0c897c1e9 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=61603 2004-06-03 00:17:30 +00:00
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