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

3897 commits

Author SHA1 Message Date
Andrew Niefer
540081b263 better handle adding declarations/definitions to templates 2005-05-10 19:53:38 +00:00
Andrew Niefer
02d30a64cb types of class template implicit methods
template <class T> A{};  gets a constructor A( const A<T> & );
this was part of bug 71827
2005-05-10 17:30:50 +00:00
Andrew Niefer
772d99ada4 type of "this" in a class template member function, fixes bug 74204 2005-05-10 17:24:04 +00:00
Andrew Niefer
db56813b0a IASTName.isDefinition() fixes 2005-05-10 16:46:37 +00:00
Andrew Niefer
ed7f696045 fix lookup of names in a declaration that come after a qualified name (bug 90610) 2005-05-10 15:37:09 +00:00
Andrew Niefer
adf20e84c7 update AST spec tests 2005-05-10 15:13:14 +00:00
Andrew Niefer
e2e8b4439d handle template explicit instantiations. fixes bug 90689
also fix small bug in template argument deduction
2005-05-10 14:40:37 +00:00
Bogdan Gheorghe
efe6bad409 Fix for 94132 2005-05-09 18:25:22 +00:00
Andrew Niefer
ce4decd0a0 Fix template scoping
- helps with nested templates & template specializations
- fxes bug 90686
2005-05-09 16:15:14 +00:00
Alain Magloire
ecd91d8fe3 2005-05-09 Alain Magloire
Patch from David Daoust, PR 94120
	* src/org/eclipse/cdt/internal/ui/wizards/CWizardRegistry.java
2005-05-09 16:11:08 +00:00
John Camelon
05adf9b805 Refactored declarator() a bit. 2005-05-06 19:44:05 +00:00
Bogdan Gheorghe
6ed4079125 Small change to IMatch 2005-05-06 18:33:27 +00:00
John Camelon
8784493b09 Fixed Bug 93821 - NPE on CDOM.getCompletionNode() 2005-05-06 18:03:17 +00:00
John Camelon
9d13cdeb95 Keep the annoations for now.
Note to self: reverse this right before M7.
2005-05-06 18:02:28 +00:00
John Camelon
1843e1b6a0 Added tess. 2005-05-06 15:17:35 +00:00
John Camelon
5741db3525 Partial fix for
Bug 90618 - [Parser] invalid syntax error for cpp spec 6.4-3
Physical tree is now repaired, moving defect to Andrew.
2005-05-06 15:02:54 +00:00
Alain Magloire
d00b5656b6 2005-05-06 Alain Magloire
PR 93902 to fix warnings.
	* plugin.xml
	* src/org/eclipse/cdt/internal/ui/search/FindDeclarationsInWorkingSet.java
	* src/org/eclipse/cdt/internal/ui/search/FindRefsInWorkingSet.java
	* src/org/eclipse/cdt/internal/ui/search/WorkingSetFindAction.java
	* src/org/eclipse/cdt/internal/ui/text/HelpCompletionContribution.java
	* src/org/eclipse/cdt/ui/CUIPlugin.java
2005-05-06 14:18:31 +00:00
John Camelon
c4c31b724f Bug 90606 - [IBinding] Problem from sizeof ambiguity
Bug 86861 - [Parser] IASTProblemStatement with cast expression as selector
2005-05-05 18:53:50 +00:00
Bogdan Gheorghe
ea15dddbc9 Refactored CTags Indexer to allow individual tags to add themslves to an Indexer Output (consolidated CTagsIndexAll and CTagsAddCompilationUnit)
CTagFileReader logic change to read in all tags in ctags file
Patch from Dave with fix for TempVA merge problem (Indexer View was opening BlocksInput without close) + other UI improvements
Renamed generated CTags file
Refactored indexer tests to not depend on EntryResult toString()
2005-05-05 04:25:16 +00:00
Andrew Niefer
641fbeb7a6 start of support for template parameter qualified types 2005-05-04 20:40:04 +00:00
John Camelon
037b93c764 Added some more tests. 2005-05-04 19:55:14 +00:00
Vladimir Hirsl
39e465b9a8 Fix for PR 92599: [Indexer] Remove annotation markers preference from DOMIndexer & friends
- Replaced indexer problem markers property page block for DOMIndexer.
  (from SourceIndexerBlock to NullIndexerBlock).
  Only inclusion not found preprocessor problem markers are going to be
  generated (there isn't an option in UI to disable/enable them yet).
- Also, fixed deleting of indexer problem markers when indexer is changed.
2005-05-04 18:58:40 +00:00
John Camelon
2bd5960655 Fixed locations for scanner problems. 2005-05-04 15:28:22 +00:00
John Camelon
249b5eb68e Removed warning. 2005-05-04 15:27:30 +00:00
John Camelon
d5663f5134 Patch for Devin Steffler.
FIXED 72716- [Search] Search actions in "magic" include files do not work.
2005-05-03 18:48:24 +00:00
John Camelon
c338788697 Forgot to comment broken test out of suite(). 2005-05-03 18:01:39 +00:00
Andrew Niefer
14aa4c430a speciializing nested templates with partial specializations 2005-05-03 15:56:18 +00:00
John Camelon
f8927a9f4c Commented out RefactoringRegressionTests#testFunction_31.
Patch for Devin Steffler.
FIXED 69063- [Search] Open Definition vs Open Declaration.
2005-05-03 15:48:34 +00:00
Andrew Niefer
3726661919 instantiating template template parameters 2005-05-03 15:24:42 +00:00
John Camelon
75c231fe01 Fixed Bug 92915 - [Parser] CDOM doesn't support parse of external files (IStorage) 2005-05-03 15:17:44 +00:00
Bogdan Gheorghe
8488a0d863 Added function definitions for CTags Parser
Refactored IIndexerOutput to take definitons for functions/methods
2005-05-03 04:41:58 +00:00
Bogdan Gheorghe
bdb7bbaf87 Some new index constants
Patch for Dave - IndexerView refactoring
2005-05-03 03:43:13 +00:00
John Camelon
dade6639b1 Works for me.
Test validation of 90647.
2005-05-02 22:48:36 +00:00
Andrew Niefer
0eef81cbaa fix part of bug 90678
-using declarations of class templates
2005-05-02 20:31:27 +00:00
John Camelon
d2e2b4f4b1 Fixed Bug 93123 - No way to determine if an IASTName is a definition 2005-05-02 20:15:51 +00:00
Andrew Niefer
8468711bac fix bug 90673
- template parameter as a target for resolving function references without parameters
2005-05-02 20:06:07 +00:00
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