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

367 commits

Author SHA1 Message Date
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
John Camelon
1d97cb0d81 Fixed NPE in CompleteParseASTFactory.createUsingDeclaration() 2004-04-05 05:24:40 +00:00
John Camelon
8a6680ea21 org.eclipse.cdt.core
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=54029

org.eclipse.cdt.core.tests
	Added CompleteParseASTTest::testBug54029().
2004-04-05 04:25:33 +00:00
John Camelon
91571bd2e5 org.eclipse.cdt.core
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=56516  
	Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=53786

org.eclipse.cdt.core.tests
	Added CompleteParseASTTest::testBug56516() && CompleteParseASTTests::testBug53786().
2004-04-05 03:50:41 +00:00
John Camelon
9138c8d397 Removed warning. 2004-04-05 01:57:56 +00:00
Andrew Niefer
4973e16836 handle template explicit instantiations
partial fix for bug 56834
handle use of template default parameters
2004-04-02 19:20:34 +00:00
John Camelon
11d74c9995 org.eclipse.cdt.core
Updated SelectionSearch to work for functions, variables with initializers, etc.
	Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=39705
	Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=44336  
	Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=36770  
	Partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=51428  
	Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=39694  

org.eclipse.cdt.core.tests
	Added SelectionParseTest::testBaseCase_FunctionDeclaration().  
	Added SelectionParseTest::testBaseCase_FunctionDeclaration2().  
	Added SelectionParseTest::testBaseCase_VariableDeclaration().  
	Added SelectionParseTest::testBaseCase_Parameter().  
	Added QuickParseASTTests::testBug44336().  
	Added ScannerTestCase::testBug36770B(). 
	Moved testBug39705() from ASTFailedTests to QuickParseASTTests.  
	Moved testBug39694() from ASTFailedTests to QuickParseASTTests.
2004-04-02 18:51:01 +00:00
John Camelon
8fda490dee Partial fix for Bug 56614 - Content Assist] Global variables do not appear in a global completion list 2004-03-30 12:47:04 +00:00
Andrew Niefer
b5f7b12be4 fixed bug 56620 - Outline view stops on error on last line of block
(errorHandling() goes to far)
2004-03-29 22:21:45 +00:00
John Camelon
13b3c99749 Fixed Bug 56517 - Preprocessor skipping doesn't ignore the contents of string literals. 2004-03-29 20:56:02 +00:00
John Camelon
6537609bed Remove warnings. 2004-03-28 23:00:41 +00:00
Andrew Niefer
8dde2f9a0e better handling of template template parameters 2004-03-26 20:08:05 +00:00
Andrew Niefer
bb598c9a99 report references for symbols used in template-ids 2004-03-26 15:50:31 +00:00
Andrew Niefer
2153d2d6ec ITokenDuple support for seperating fully qualified names that use template-ids,
also modify IASTFactory.createField & createVariable to take ITokenDuple for name
Better treatement for definitions of static members of template classes.
2004-03-25 22:10:50 +00:00
Hoda Amer
f2dba87e93 Joined effort with Bogdan, Added parser timeout capability that is used by Content Assist 2004-03-25 18:48:27 +00:00
Andrew Niefer
d15c793d77 - fix bug 55673 2004-03-23 16:46:12 +00:00
Andrew Niefer
5fdc4f5c05 Better handling of typedefs & fix various problems encountered while parsing templates 2004-03-22 18:23:22 +00:00
Hoda Amer
cb1e01065f Fix for bug#54325 Refactor: Check for name collision 2004-03-19 17:02:18 +00:00
Andrew Niefer
51131345db parsing template-ids, enabling template instantiations & class template partial specializations & indirectly fixes bug 54778 2004-03-18 23:20:16 +00:00
Andrew Niefer
e6f4fa5890 bug 55163 - Parser spins on for-init-statement 2004-03-17 21:33:49 +00:00
Andrew Niefer
4b5850c062 scanner performance improvements from Dave Daoust 2004-03-16 22:23:36 +00:00
Andrew Niefer
5a0369683c This patch is the start of parsing templates. Template uses that don't require a template-id should work. 2004-03-15 16:17:42 +00:00