John Camelon
90f44f3db4
Patch for Craig Chaney <cchaney@us.ibm.com>
...
Fixed Bug 94365 - function-like macro with varargs requires one too many args
Patch for Devin Steffler
JUnit test case to protect against regression for 94365.
2005-05-13 17:52:29 +00:00
Andrew Niefer
220206d7e9
- strings for types that are template parameters
...
- a class template partial specialization is now also considered a specialization in general
- fix collecting of content assist results to allow overloaded functions
- implement the names for specializations
- update CollectDeclarations/references to handle template parameters
- use internal interace during CPPvisitor.getDeclarations to improve open declaration on template stuff
2005-05-13 15:52:29 +00:00
Bogdan Gheorghe
c3d5a2813a
Updated strigns for Fix for 94988: BaseTestFramework disableIndex() doesn't work
2005-05-12 17:40:27 +00:00
Alain Magloire
d333b65022
2005-05-12 Alain Magloire
...
For the per file container, make sure we clean the project info.
* model/org/eclipse/cdt/internal/core/model/PathEntryManager.java
* model/org/eclipse/cdt/core/model/IPathEntryContaienrExtension.java
2005-05-12 15:58:52 +00:00
Andrew Niefer
4de565f8fe
fix:
...
- resolving template function parameters
- getting the scope of a parameter in the case of functions return pointer to function or for parameters of type pointer to function
2005-05-11 21:29:58 +00:00
Andrew Niefer
28b56b0e88
methods' implicit object parameter needs to handle templates in the same way as the type of "this"
2005-05-11 17:43:17 +00:00
Andrew Niefer
19b964b6f1
make sure template parameters have all their declarations added
2005-05-11 16:11:05 +00:00
Andrew Niefer
cc677cd35b
fix small bug that caused ClassCastExceptions
2005-05-11 15:08:37 +00:00
Andrew Niefer
ada5f6bb24
patch from Devin Steffler RE Open Declaration/Definition
...
bugs 86829, 93589, 94360
2005-05-10 20:31:02 +00:00
Vladimir Hirsl
51467c7d3c
Fix for PR 94500: [Path Entry] Problem marker: Invalid project path: DISCOVERED_SCANNER_INFO
...
Fix for infinite loop in LocationMap.createSoleLocation(..). Courtesy of John C.
2005-05-10 20:04:50 +00:00
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
e2e8b4439d
handle template explicit instantiations. fixes bug 90689
...
also fix small bug in template argument deduction
2005-05-10 14:40:37 +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
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
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
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
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
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
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
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
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
Andrew Niefer
278786b79a
fix bug 86547: default parameters and order of resolution.
2005-04-27 20:51:43 +00:00