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

403 commits

Author SHA1 Message Date
Andrew Niefer
02d14a80c9 bug 50984 - fix class cast exceptions 2004-04-28 18:14:58 +00:00
John Camelon
54aa75f147 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=60264 2004-04-28 17:30:17 +00:00
John Camelon
d730ff0f94 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=59134 2004-04-28 17:08:38 +00:00
John Camelon
31cfba78a4 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=60142 and updated CModel tests appropriately. 2004-04-27 22:07:00 +00:00
John Camelon
7a2c6de5fb Updated Selection Search to use the parser exclusively for Open Declaration actions. <BR>
Fixed OpenDeclarationAction to open external files again.
2004-04-27 21:56:53 +00:00
Andrew Niefer
b2de2fdd6c - work on bug 50984 - fix NPE with anonymous bitfields
- fix problems with globally qualified using declarations
- fix npe & cce in templates
2004-04-27 17:49:39 +00:00
Hoda Amer
428f0da6e7 Partial fix for bug#57526 [CModelTests] 2004-04-27 17:03:16 +00:00
John Camelon
a10f4f5583 Removed more warnings (ANDREW) 2004-04-27 13:48:06 +00:00
John Camelon
02e31a94fd https://bugs.eclipse.org/bugs/show_bug.cgi?id=57898 2004-04-26 21:34:39 +00:00
Andrew Niefer
6797f7dd40 -work on bug 50984: fix NPEs/CCEs caused by problems with typedefs and a bug in template instantiations
-fix bug 59892: completion on typedefs
-handle ASTExpression as a context for content assist
2004-04-26 20:33:12 +00:00
John Camelon
653c8bb11e Fixed infinite loop in BinaryTests 2004-04-26 19:53:59 +00:00
John Camelon
e0706f6786 Added debugging info for Andrew. 2004-04-25 22:47:56 +00:00
John Camelon
d2e9119927 Removed warnings. 2004-04-25 22:18:56 +00:00
John Camelon
8eaa71ea7a Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=51841<BR>
Updated test cases for improved contexts provided in IASTCompletionNode.
2004-04-25 21:36:27 +00:00
John Camelon
94bfaa41cf Removed warnings. 2004-04-25 05:30:52 +00:00
John Camelon
27ceac6cb6 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=57652.<BR>
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=49167.<BR>
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=39676.<BR>
2004-04-23 20:22:07 +00:00
Andrew Niefer
63bc5b00d2 - fixed up CompleteParseASTFactory.lookupQualifiedName in the case where the
tokenDuple has 1 segement
- fixed CompleteParseASTFactory.createMethod to handle template ids
- fixed instantiation of member templates
- fixed up handling of explicit specializations
2004-04-23 18:23:09 +00:00
John Camelon
809934b921 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=59768 2004-04-23 17:43:47 +00:00
John Camelon
34f1154c4f Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=47926 2004-04-23 03:49:31 +00:00
John Camelon
7d0db41463 Partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=59686 2004-04-23 03:09:03 +00:00
John Camelon
d65c6769ea Made typeof() declSpec's show up in outline view. 2004-04-22 19:02:07 +00:00
John Camelon
af85de7600 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=59507 2004-04-22 18:13:36 +00:00
John Camelon
1a5788e0dc org.eclipse.cdt.core<BR>
&nbsp;Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=59179<BR>
&nbsp;Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=59143<BR>
org.eclipse.cdt.core.tests<BR>
&nbsp;Updated test clients for IExpressionParser interface changes.  <BR>
&nbsp;Added QuickParseASTTests.testBug59179().
2004-04-22 17:45:27 +00:00
Andrew Niefer
5cc0ea42f2 More template tests, and small fixes to make them work 2004-04-22 14:56:57 +00:00
John Camelon
03144000c4 org.eclipse.cdt.core<BR>
&nbsp;Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=39703<BR>
&nbsp;Removed method IScanner.addIncludePath() as it wasn't being used.  <BR>
&nbsp;Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=39698<BR>
<BR>
org.eclipse.cdt.core.tests<BR>
&nbsp;Moved testBug39703() from ASTFailedTests to QuickParseASTTest.<BR>
&nbsp;Added ScannerTestCase::testBug39698().<BR>
&nbsp;Moved testBug39698A() & testBug39698B() from ASTFailedTests to QuickParseASTTest.<BR>
&nbsp;Added testBug39698A() & testBug39698B() to CompleteParseASTTest.
2004-04-22 02:56:52 +00:00
Andrew Niefer
688e94b21b fixing last problems for bugs 52695 & 45372 2004-04-21 19:11:23 +00:00
John Camelon
d763240879 Partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=59468 2004-04-21 18:05:19 +00:00
Andrew Niefer
822ad118ce fix bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=59302 2004-04-20 21:35:05 +00:00
Andrew Niefer
3ca43539a1 template work on Explicit Specializations and Explicit argument specification 2004-04-20 21:16:13 +00:00
John Camelon
d72a8b3f5d Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=58717 2004-04-20 20:38:20 +00:00
John Camelon
93c7225abf org.eclipse.cdt.core<BR><BR>
nbsp;Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=59134<BR>
nbsp;Partially fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=58858<BR>
nbsp;Added in additional CompletionKind's for STRUCT_REFERENCE, UNION_REFERENCE and ENUM_REFERENCE.  <BR>
<BR>
org.eclipse.cdt.core.tests<BR>
nbsp;Updated CompletionParseTest for CompletionKind updates.
2004-04-20 20:07:17 +00:00
John Camelon
b8154fb0fc org.eclipse.cdt.core<BR>
&nbsp;Restructuring of the parser extension packages. <BR>
&nbsp;Introduce IParserExtension and IASTFactory mechanisms w/partial implementation for GCC. <BR>
&nbsp;Introduce IGCCToken and GCCKeywords and fleshed out GCCScannerExtension implementation and interworking with Scanner. <BR>
&nbsp;Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=39697<BR>
&nbsp;Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=39695<BR>
&nbsp;Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=39684<BR>
<BR>
org.eclipse.cdt.core.tests<BR>
&nbsp;Moved testBug39684() & testBug39695() from ASTFailedTests to QuickParseASTTests.<BR>
&nbsp;Updated CompleteParseASTTest::testBug39697().<BR>
&nbsp;Added CompleteParseASTTest::testBug39684() & CompleteParseASTTest::testBug39695().
2004-04-20 17:36:41 +00:00
Andrew Niefer
6b096ee976 fix bug 59149 2004-04-19 21:27:59 +00:00
Andrew Niefer
94805a944d testing template explicit specialization & small fix 2004-04-19 19:03:13 +00:00
Andrew Niefer
2ae68378fa work for bug 50807 2004-04-16 20:08:25 +00:00
John Camelon
0ce4a707ab <BR>Patch for Dave Daoust
<BR>Modified Scanner Performance by 
<BR>1. Moved ScannerContext sentinal to ContextStack 
<BR>2. Delay Stringizing macro parameter until needed 
<BR>3. Removed the sentinal from the scanner constructor
2004-04-16 18:34:39 +00:00
Andrew Niefer
fed76537bb fix bug 58492 - [Content Assist] No completions when function argument is 'struct <struct_name>' 2004-04-15 22:38:38 +00:00
John Camelon
f76a432bef Added __const as an alternative keyword. 2004-04-15 21:22:32 +00:00
John Camelon
b1c5ca5c96 org.eclipse.cdt.core : Partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=39697 <BR>
org.eclipse.cdt.core.tests : Added CompleteParseASTTest::testBug39697().
2004-04-15 21:00:18 +00:00
John Camelon
ce4bd0a141 Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=58175 2004-04-15 18:51:16 +00:00
Andrew Niefer
b8ff553e9a fix bug 57791 - Parser Infiinite loop 2004-04-15 17:51:29 +00:00
John Camelon
92d011ea1d org.eclipse.cdt.core: Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=52253 <BR>
org.eclipse.cdt.core.tests: Added CompletionTest::testBug52253().
2004-04-15 03:21:05 +00:00
John Camelon
f6c0374580 org.eclipse.cdt.core: Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=44249 & fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=52004 <BR>
org.eclipse.cdt.core.tests: Added CompleteParseASTTest::testBug44249().
2004-04-15 02:32:42 +00:00
John Camelon
c73b30f8ce org.eclipse.cdt.core: Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=58500. Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=58178 <BR>
org.eclipse.cdt.core.tests: Added CompletionTest::testBug58178().
2004-04-15 01:47:57 +00:00
Andrew Niefer
b3ac698a40 AST work for friend declarations
for bug 45235 AST does not capture class friend relationships 
and bug 53759 ISourceElementRequestor missing callbacks for friend declarations
2004-04-14 20:43:00 +00:00
Andrew Niefer
9a2fdef54b fixed 46246 - C Scoping rules
Use a collator to sort the symbol table
2004-04-13 15:31:15 +00:00
John Camelon
06cdcc0e39 Added better toString() implementations to Scanner. Added additional logging of unexpected exceptions throughout the Parser. 2004-04-12 15:37:39 +00:00
John Camelon
68365e4ac0 <BR>org.eclipse.cdt.core
<BR>&nbsp;Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=55785.
<BR>&nbsp;Fix required update to ISourceElementRequestor interface : clients updated accordingly.
<BR>
<BR>org.eclipse.cdt.core.tests
<BR>&nbsp;Updated clients for ISourceElementRequestor.createReader() updates.
<BR>
<BR>org.eclipse.cdt.ui
<BR>&nbsp;Updated CompletionEngine to use shared working copies when parsing include files.
<BR>&nbsp;Updated clients for ISourceElementRequestor.createReader() updates.
2004-04-11 22:52:21 +00:00
John Camelon
864b6075c5 Updated errorhandling in Parser::translationUnit(). 2004-04-11 05:33:10 +00:00
John Camelon
8a4ada65b3 <BR>org.eclipse.cdt.core<BR>
&nbsp;&nbsp;Removed unused methods from IToken.<BR>
&nbsp;&nbsp;Restructured Token implementation to be more memory efficient.<BR>
&nbsp;&nbsp;Tightened up visibility of different members in the implementation.<BR>
&nbsp;&nbsp;Added TokenFactory construct to isolate IToken clients from the particulars of which IToken implementation to instantiate.<BR><BR>
org.eclipse.cdt.core.tests<BR>
&nbsp;&nbsp;Updated ScannerTestCase to correspond with changes to IToken and its implementations.
2004-04-11 04:18:24 +00:00