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

4055 commits

Author SHA1 Message Date
Andrew Niefer
a0e5adac22 bug 91707 - overloaded operators [] and ->
-also fix issue with defered template instances
2005-06-01 17:55:35 +00:00
John Camelon
9dc5a7dffd Fixed Bug 75858 - [Parser] [Ambiguity] Relational expression parsed as template-id 2005-06-01 15:53:48 +00:00
John Camelon
f19c9e9061 Fixed Bug 94933 - IASTTranslationUnit.flattenLocationsToFile does not work correctly 2005-06-01 13:56:45 +00:00
John Camelon
03a6a074ae Fixed Bug 97603 - [DOM AST] IASTNode.getFileLocation returns null for a macro name 2005-05-31 20:29:38 +00:00
Bogdan Gheorghe
f4ae254411 Refactor CPPSelectionTestsCTagsIndexer to check to see if the proper CTags is installed prior to running the test 2005-05-31 19:43:31 +00:00
Bogdan Gheorghe
bfee5d5b13 Added a method to CTagsIndexer to ensure that the proper version of CTags exists
Updated CPPSelectionTestsCTagsIndexer to check to see that CTags exists before running tests
2005-05-31 19:36:40 +00:00
Andrew Niefer
f7d25b8b16 fixing template problems
- better handling of explicit instantiations
- argument deductions from template instances
- fix bug clearing bindings on failed function template definition match
2005-05-31 19:25:17 +00:00
John Camelon
e5610988d7 Patch for David Daoust.
Cleaning up the Indexer View.
2005-05-31 19:23:26 +00:00
John Camelon
b208d1adfd Patch for Devin Steffler.
This patch gets rid of the work around added to CoreModel with the last patch.  It was required in order to get C(PP)SelectionTests*Indexer working but the better way to do this is to create a scanner config for the projects for those tests.

This patch also improves the speeds of CSelectionTestsCTagsIndexer and CPPSelectionTestsCTagsIndexer by adding CTagsIndexer#notifyListeners(IndexDelta) to Index.java.
2005-05-31 18:55:35 +00:00
Bogdan Gheorghe
cee31b91f4 Refactoring of SourceIndexer to use new IIndexerOutput
Refactoring of IndexerOutput
2005-05-31 17:25:47 +00:00
John Camelon
657c53d31e Patch for Devin Steffler.
Note to specifically look at the changes made to CoreModel.java as this is the fix for 96865.
The rest of the patch consists of tests and the changes to CTagsIndexer.java to make it compatible with those tests.

Updated for 77383 changes:

FIXED 96865- [DOM Indexer] won't run on new Standard Make C Project
includes JUnits for AutomatedSuite to test Open Definition/Open Declaration against the DOM Indexer and the CTags Indexer
added 29 tests for the above and raised the following bugs on those tests: 96689, 96690, 96694
2005-05-31 15:44:40 +00:00
John Camelon
3d244f21f0 Added test. 2005-05-31 15:22:58 +00:00
John Camelon
24648ae9ed Moved clients towards IASTNode.getFileLocation() and away from IASTTranslationUnit.flattenLocations( ... ). 2005-05-30 20:32:56 +00:00
Andrew Niefer
e7864031ca fixing template problems
- finding class definitions for classes nested in templates.
- comparing defered template instances
2005-05-30 19:35:02 +00:00
John Camelon
1786169b2b Added IASTNode#getFileLocation().
Updated DOM Indexer to use it.
2005-05-30 19:32:59 +00:00
John Camelon
2b8a395550 Patch for Devin Steffler.
Bug 97301  	flattenLocationsToFile returns null causing NPE in indexer
2005-05-30 19:19:14 +00:00
John Camelon
680530305f Patch for David Daoust.
ArrayUtil.removeNulls() optimizations and LocationMap algorithm updates.
2005-05-30 18:55:11 +00:00
John Camelon
1a9c0d8eb7 Patch for Devin Steffler.
Bug 97301  	flattenLocationsToFile returns null causing NPE in indexer
2005-05-30 18:26:49 +00:00
John Camelon
7f446a4ff5 Warnings warnings warnings. 2005-05-30 15:56:05 +00:00
Bogdan Gheorghe
d2748911a5 Add Includes to Index for DOM Indexer 2005-05-30 15:42:42 +00:00
Bogdan Gheorghe
30c47b2964 Add a new Named Entry constructor that takes strings 2005-05-30 12:53:17 +00:00
Bogdan Gheorghe
e2a5a6dbef Changed base class storage in CTag Indexer to use INamedEntry 2005-05-30 00:14:31 +00:00
Doug Schaefer
bc8ea403ac Cleaned up warnings in the tests. 2005-05-28 02:15:24 +00:00
Doug Schaefer
cf6eeec9c8 Get rid of access to internals. 2005-05-28 01:21:57 +00:00
Doug Schaefer
6232873fa7 Get rid of access to Assert which is an internal interface in the platform runtime. 2005-05-28 01:17:30 +00:00
Bogdan Gheorghe
2e324713bd Fix for compile error in CTagEntry 2005-05-27 20:59:33 +00:00
Andrew Niefer
2e7ff71a7e turn off externally linked variables for C (77383) 2005-05-27 20:11:05 +00:00
Bogdan Gheorghe
97ac9f71a0 ITypeEntry baseTypes can now set/return IIndexEntry 2005-05-27 20:03:49 +00:00
Bogdan Gheorghe
73c23e6b19 Patch for Devin: Fix for 96992 2005-05-27 19:47:34 +00:00
Alain Magloire
52961638a3 2005-05-27 Alain Magloire
Patch from Dave Daoust to externalize some strings
	* refactor/org/eclipse/cdt/internal/core/refactoring/rename/RenameElementProcessor.java
	* src/rg/eclipse/cdt/internal/ui/CUIMessages.properties
	* src/org/eclipse/cdt/internal/ui/preferences/PreferencesMessages.properties
	* src/org/eclipse/cdt/internal/ui/search/DOMQuery.java
	* src/org/eclipse/cdt/internal/ui/search/LevelTreeContentProvider.java
	* src/org/eclipse/cdt/internal/ui/text/contentassist/CCompletionprocessor2.java
	* src/org/eclipse/cdt/ui/dialogs/CodeFormatterBlock.java
2005-05-27 19:27:55 +00:00
John Camelon
6597aae483 Fixed Bug 95411 incorrect parse of for statement 2005-05-27 19:09:16 +00:00
Bogdan Gheorghe
b453ede83c Return search results for include references 2005-05-27 18:16:29 +00:00
Andrew Niefer
52ae549c9f Patch from Devin Steffler with modifications (bug 95757) 2005-05-27 15:44:57 +00:00
Bogdan Gheorghe
3720c60ebd Refactoring for the DOM Indexer to use new IIndexEntry encoding 2005-05-26 20:00:16 +00:00
Andrew Niefer
86baacedc8 fixing invalid problem bindings:
- default constructors via parameters with default values
- expression types with typedefs
- default values vs void
2005-05-26 19:43:59 +00:00
John Camelon
3462e648ba Fixed Bug 95424 - [Parser] Bad AST from static function call 2005-05-26 18:42:10 +00:00
John Camelon
89ec5fadf6 Patch for Devin Steffler.
Fixed Bug 96702 	[Scanner] ASTNode offsets are wrong.
2005-05-26 15:59:01 +00:00
John Camelon
cf31ad398a Fixed Bug 95720 [Ambiguity] Cast Expression ambiguity 2005-05-26 15:54:32 +00:00
David Inglis
795d676119 preformance improvment for CModel 2005-05-25 19:50:52 +00:00
John Camelon
044af29ec9 Patch for Devin Steffler.
Fixed Bug 96678 - Scanner is reporting bad character problem on // comments
2005-05-25 19:17:07 +00:00
Andrew Niefer
c1bbb62c95 tests for last commit:
- types of conditional, new & delete expressions
- handle typedefs in conversions for bug 96655
2005-05-25 18:16:22 +00:00
Andrew Niefer
353cad011a - types of conditional, new & delete expressions
- handle typedefs in conversions for bug 96655
2005-05-25 18:13:45 +00:00
John Camelon
8206cea697 Patch for Devin Steffler.
Fixed Bug 86126   	[_Context] \r is included in context_directive_end
2005-05-25 17:48:39 +00:00
John Camelon
fb70c25e85 Added test. 2005-05-25 17:40:35 +00:00
John Camelon
5995f1cd0f Adjusting performance of declarator/declSpec. 2005-05-25 17:28:48 +00:00
Andrew Niefer
be835cdda0 -Fix bugs in selecting set of viable functions
-allow matching of template parameters during function calls
2005-05-25 15:28:27 +00:00
John Camelon
4f2422d695 Patch for Devin Steffler.
Bug 86870	  	[Offsets] simple #if/#define example seems flaky with offset/length
2005-05-25 14:57:08 +00:00
Andrew Niefer
14d4d30038 handle typedefs as qualifying names 2005-05-24 18:15:52 +00:00
Andrew Niefer
d1d753ba3a Relax type comparisons a bit around defered class template instances, especially in derived to base conversions. fixes a couple hundred problems parsing iostream. 2005-05-24 15:38:33 +00:00
Vladimir Hirsl
ab0ae772ae Indexer performance improvement: indexing nodes from external include files only once. 2005-05-20 20:29:35 +00:00