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

3711 commits

Author SHA1 Message Date
Andrew Niefer
c69bab5a9f fix bug 90626- problems with using declarations 2005-05-02 19:42:24 +00:00
Andrew Niefer
2bd9664bb0 Template Bindings
-Distinguish between specializations and instantiations
- better handling of explicit specializations
- don't need to instantiate an explicit specialization
2005-05-02 18:04:32 +00:00
Vladimir Hirsl
8fb7e7383f Fix for PR 96762: DOM indexer misses some obvious symbols
Fixed calculation of file locations for names inside macro definitions.
2005-05-02 17:44:39 +00:00
John Camelon
e95f21d2d8 Patch for Devin Steffler.
FIXED 93281- [Open Declaration] the entire operator string shouldn't have to be selected for features to work
2005-05-02 17:40:48 +00:00
Bogdan Gheorghe
d3314df607 Patch from Dave - refactored EntryResults to decode index information within the Entry Result itself; updated Index View to make use of new EntryResult 2005-05-02 16:11:40 +00:00
Bogdan Gheorghe
c8d7b84191 Fix for IndexerBlock not persisting selected indexer for new projects 2005-04-29 20:11:57 +00:00
John Camelon
82d7ca2e7a Move failed tests to passing lot. 2005-04-29 01:03:20 +00:00
John Camelon
5e0e6d7eb2 Patch for Devin Steffler.
FIXED 86993- [Selection] CPPASTLinkageSpecification with bad offset due to macro expansion causes selection to fail in CPP
FIXED 93167- [Open Declaration] on destructor requires the entire word to be selected
FIXED 92632- [IBinding] CPPClassInstance binding has no declaration
FIXED - prevent DOM AST View from showing internal interfaces
2005-04-29 00:56:11 +00:00
Andrew Niefer
99aff8d4bd - fix NPE in CPPMethod.isInline
- default base clause visibility for classes is private, others are public
2005-04-28 21:56:40 +00:00
Andrew Niefer
6fa2b47130 template fixes
- instantiating a template within itself
- finding the definiition of a class template
2005-04-28 20:34:27 +00:00
Alain Magloire
10b6e03e06 2005-04-28 Alain Magloire
Patch from Devlin Steffler
	FIXED 84606- CDT needs to take advantage of background refresh of projects
	* src/org/eclipse/cdt/core/CCorePlugin.java
2005-04-28 17:22:07 +00:00
John Camelon
3bdeb43cf3 Fixed Bug 92806 - Clean up C & C++ Syntax AST Nodes for array usage. 2005-04-28 15:55:18 +00:00
John Camelon
027dc8cb93 Fixed Bug 93114 - [Parser] ClassCastException found in CPPASTProblem#getMessage() due to LocationMap$MacroExpansionLocation 2005-04-28 13:52:34 +00:00
John Camelon
7c6f79c6bc Add Declaration Ambiguity impl for C++. 2005-04-28 13:45:35 +00:00
John Camelon
f74fc1c0ac Add Declaration Ambiguity interface. 2005-04-28 13:45:05 +00:00
John Camelon
0abbfb7df8 Patch for Devin Steffler.
Validation/fixes for the following defects:
FIXED 86698- [Selection] selecting from constructor chain initializer fails to find IASTNode due to stop condition
FIXED 64181- [Search] Open declaration on a namespace does not offer all possible declarations
FIXED 80823- [F3] Open Declaration should find #defines of basic_types
FIXED 64326- [Search] Hyperlink navigation does not work on referenced class/struct/union members
2005-04-28 02:25:52 +00:00
Andrew Niefer
9e7f365eba tweaks to the DOM AST view by Devin
- better handling of DOMExceptions
- don't call IScope.flushCache
2005-04-27 21:30:25 +00:00
Andrew Niefer
278786b79a fix bug 86547: default parameters and order of resolution. 2005-04-27 20:51:43 +00:00
Andrew Niefer
2794dda812 bug 92885: ArrayIndexOutOfBoundsException 2005-04-27 20:23:03 +00:00
Andrew Niefer
37e8015bf2 bug 92882: report problem for method definition not matching declaration 2005-04-27 19:29:36 +00:00
Bogdan Gheorghe
6f38f94b90 Added Indexer Preference page that sets up the indexer to use for new projects
Removed Index Enabled checkboxes from Source + Dom indexers
Added import ctags file option under CTags Indexer
Fixed Apply/OK problem
2005-04-27 19:18:13 +00:00
John Camelon
308e1f4417 Fixed Bug 92980 - [Parser] infinite loop caused by invalid source code 2005-04-27 19:11:32 +00:00
John Camelon
15fc3932fa Test to verify Bug 90648 - [Parser] [Ambiguity] in decl of reference to array 2005-04-27 18:51:48 +00:00
Andrew Niefer
af10bf00cb fixing problems encountered when resolving bindings in some order other than top down
- declarations of template parameters
- containing scope of a method
2005-04-27 18:30:34 +00:00
John Camelon
0fedc36b90 Applied patch for Devin Steffler.
Open Declarations/Search For Refs/Search for Decls actions reworked to use the new DOM.
2005-04-27 17:43:33 +00:00
John Camelon
8b54fcec9e Added in framework to allow for ambiguities to be resolved after parse completes by using a heuristic in evalutaing the validity of a binding.
Also added in extra IProblem generation in BaseScanner for invalid characters.
2 outstanding broken tests : Andrew is investigating Template failing test.
I am investigating the Refactoring broken test.
2005-04-27 16:51:32 +00:00
Andrew Niefer
4b27d3dac7 properly handle classes with qualified names or template-ids in the name 2005-04-26 22:30:06 +00:00
Andrew Niefer
56adc615f8 fix bug 92783: ArrayIndexOutOfBoundsException 2005-04-26 22:17:44 +00:00
Andrew Niefer
3fedd1b299 fix bug 92773, ClassCastException 2005-04-26 22:07:58 +00:00
Andrew Niefer
10298b85c7 fix bug 91773: allow constructor chain initializers to look in the whole class scope for bindings 2005-04-26 21:51:03 +00:00
Andrew Niefer
b3f9f20ed8 fix template instances 2005-04-26 21:39:26 +00:00
Andrew Niefer
f45b9b7692 more problem bindings in C 2005-04-26 21:28:26 +00:00
Andrew Niefer
cd54f2cfa5 bug 92791: more problem reporting from C 2005-04-26 21:21:02 +00:00
Andrew Niefer
8668326658 bug 77024 : handle implicit object parameters 2005-04-26 20:52:15 +00:00
Andrew Niefer
b3cfc78c05 add IScope.flushCache() 2005-04-26 18:27:37 +00:00
Alain Magloire
a88eb122a2 Use the offset of the IMatch 2005-04-26 17:58:50 +00:00
Andrew Niefer
241036375c bug 92768 - expected invalid type problem
- fix also class cast exception in CPPField.getPrimaryDeclaration
2005-04-26 15:59:14 +00:00
John Camelon
da93b4e50e Fixed Bug 92779 - [Parser] LocationMap#createASTMacroDefinition needs to set ASTObjectMacro's parent 2005-04-26 15:38:13 +00:00
Bogdan Gheorghe
85f5ea3b48 Update to constant references in search patterns 2005-04-25 19:22:32 +00:00
Bogdan Gheorghe
0bca2b33c3 Patch for Dave Daoust - cleans up some name references in the search tests 2005-04-25 18:53:48 +00:00
Doug Schaefer
4b511c67ae Hooked up the C Help system to the new content assist. 2005-04-25 18:35:52 +00:00
John Camelon
bc812babe8 Fix Bug 92605 - [LocationMap] context_directive_end is off by 1 somewhere
Updated DOMAST Find In View action accordingly.
2005-04-25 18:08:50 +00:00
Andrew Niefer
acb86c08b9 bug 86639 - anonymous unions
bug 80940 - content assist didn't consider delcarators subsequent to a match
2005-04-25 17:56:46 +00:00
Doug Schaefer
141d4a2510 Hooked up search to the new content assist. 2005-04-25 17:07:51 +00:00
John Camelon
d85e184a5d Fixed Bug 90978 - references to macros report wrong location information
Updated/cleaned up tests.
2005-04-25 15:26:55 +00:00
Bogdan Gheorghe
1c5c64581c Index Reader Interface Refactor - a patch contribution by Dave Daoust 2005-04-25 14:01:51 +00:00
John Camelon
d04244d5f1 Potential fix for [Parser NPE] NPE found in SavedCodeReaderFactory#createCodeReaderForTranslationUnit(String path) 2005-04-25 13:11:45 +00:00
Andrew Niefer
5b282cb2f4 - consider template parameter default values
- partially fixes 76951, fixes 90670
2005-04-22 20:32:54 +00:00
Doug Schaefer
8230e97539 Start at content assist for constructor initializers. 2005-04-22 18:20:13 +00:00
John Camelon
90c4d131cc Updated the CodeReaderCache to make it easier to test w/performance JUnits. 2005-04-22 17:49:54 +00:00