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

388 commits

Author SHA1 Message Date
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
John Camelon
5f7bf6d199 Partial fix for <A HREF="https://bugs.eclipse.org/bugs/show_bug.cgi?id=57898">Bug 57898 [Search] Selection search does not work under all circumstances</A> 2004-04-10 15:43:27 +00:00
Andrew Niefer
daaf6bcf2b fix NPE and ClassCastException encountered while parsing <list>
fix bug in handling some template member templates
2004-04-09 20:58:13 +00:00
Andrew Niefer
32abdb30e8 fix bug 57754, fix instantiating constructors, fix some problems with explicit specialization 2004-04-09 17:52:34 +00:00
John Camelon
1ac6f78fc3 org.eclipse.cdt.core<BR>
&nbsp;&nbsp;Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=57800.<BR><BR>
org.eclipse.cdt.core.tests<BR>
&nbsp;&nbsp;Removed warnings from CompletionTests.<BR>
&nbsp;&nbsp;Added CompleteParseASTTest::testBug57800().<BR>
2004-04-08 14:38:14 +00:00
John Camelon
5cc0a37e2b org.eclipse.cdt.core <BR>
&nbsp;&nbsp;Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=50808. <BR>
&nbsp;&nbsp;Provided partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=50807. <BR>
&nbsp;&nbsp;Provided partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=52988. <BR>
&nbsp;&nbsp;Introduced EMPTY_STRING, a single constant that replaced > 100'S O literal "" in the code. <BR>
&nbsp;&nbsp;Updated IASTCompletionNode interface to provide better support for FUNCTION_REFERENCE and CONSTRUCTOR_REFERENCE. <BR>
&nbsp;&nbsp;Implemented IASTTypeId.getFullSignature() for both QUICK_PARSE and COMPLETE_PARSE. <BR>
&nbsp;&nbsp;Tweaked ASTNode.lookup() so that it would work for FUNCTION_REFERENCE. <BR><BR>
org.eclipse.cdt.ui <BR>
&nbsp;&nbsp;Updated CompletionEngine to use the extended IASTCompletionNode interface for FUNCTION_REFERENCE. <BR><BR>
org.eclipse.cdt.ui.tests <BR>
&nbsp;&nbsp;Updated CompletionFailedTest_ConstructorReference_Bug50808, renamed it to CompletionTest_ConstructorReference and moved it out of the failed tests folder. <BR>
&nbsp;&nbsp;Updated CompletionFailedTest_TypeDef_Bug52948, renamed it to CompletionTest_TypeDef_Prefix and moved it out of the failed tests folder. <BR>
&nbsp;&nbsp;Renamed CompletionTest_TypeDef_Bug52948 it to CompletionTest_TypeDef_NoPrefix. <BR>
&nbsp;&nbsp;Updated CompletionTest_SingleName_Parameter and renamed it to CompletionTest_FunctionReference_Prefix. <BR>
&nbsp;&nbsp;Updated CompletionFailedTest_FunctionReference_Bug50807, renamed it to CompletionTest_FunctionReference_NoPrefix and moved it out of the failed tests folder. <BR>
2004-04-08 00:33:43 +00:00
Andrew Niefer
d7664718ae fix lookup in parents while doing content assist on list out of <list> 2004-04-07 21:24:40 +00:00
Andrew Niefer
070f6eb80f fix bug 44338 2004-04-07 15:17:25 +00:00
Andrew Niefer
83c0dabdbd changes for parsing iostream in a standard project with discovered symbols 2004-04-07 14:24:42 +00:00
John Camelon
26facfb422 org.eclipse.cdt.core
Provided a partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=50152
	Updated IExpressionParser::expression() interface necessitated by this fix, and updated its clients appropriately.  

org.eclipse.cdt.core.tests
	Updated test cases that used IExpressionParser::expression().  
	Added CompletionParseTest::testCompletionInFunctionBodyFullyQualified(). 
	Added CompletionParseTest::testCompletionInFunctionBodyQualifiedName().

org.eclipse.cdt.ui.tests
	Updated CompletionFailedTest_ScopedReference_Prefix_Bug50152, moved it out of failed tests package and renamed it to CompletionTest_ScopedReference_Prefix_Bug50152.
	Updated CompletionFailedTest_TypeDef_Bug52948, moved it out of failed tests package and renamed it to CompletionTest_TypeDef_Bug52948. 
	Updated CompletionFailedTest_ScopedReference_NoPrefix_Bug50152 to show Hoda/Andrew what is still broken.
2004-04-07 04:32:18 +00:00
John Camelon
0662f31cee Patch for David Daoust.
Removed some temporary objects that the scanner was producing.
	Fixed small bug in GCCScannerExtension these changes brought to the surface.
2004-04-06 21:31:15 +00:00
Andrew Niefer
34db07a830 small changes to help with template parsing 2004-04-06 18:12:55 +00:00
Andrew Niefer
671986dfa7 fix for bug 47625 2004-04-06 15:38:08 +00:00
John Camelon
d22e72fb14 org.eclipse.cdt.core
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=39704 
	Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=29060 

org.eclipse.cdt.core.tests
	Moved testBug39704A(), testBug39704B(), testBug39704C() & testBug39704D() from ASTFailedTests to QuickParseASTTests.
2004-04-06 14:37:29 +00:00
John Camelon
70aaf923d3 org.eclipse.cdt.core
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=47797

org.eclipse.cdt.core.tests
	Added ScannerTestCase::testBug47797().
2004-04-06 05:11:00 +00:00
Andrew Niefer
024eca4958 - performance improvements with Problem reporting originally from Dave Daoust
- added CompleteParseASTFactory.shouldThrowException, so we can ignore certain problems
  encountered while parsing templates
- fix NPEs caused by bad type info objects
2004-04-05 18:18:57 +00:00