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

929 commits

Author SHA1 Message Date
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
Bogdan Gheorghe
ee60cb456e Fix for 94988: BaseTestFramework disableIndex() doesn't work 2005-05-12 17:27:54 +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
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
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
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
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
John Camelon
2bd5960655 Fixed locations for scanner problems. 2005-05-04 15:28:22 +00:00
Andrew Niefer
14aa4c430a speciializing nested templates with partial specializations 2005-05-03 15:56:18 +00:00
Andrew Niefer
3726661919 instantiating template template parameters 2005-05-03 15:24:42 +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
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
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
6fa2b47130 template fixes
- instantiating a template within itself
- finding the definiition of a class template
2005-04-28 20:34:27 +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
278786b79a fix bug 86547: default parameters and order of resolution. 2005-04-27 20:51:43 +00:00
Andrew Niefer
37e8015bf2 bug 92882: report problem for method definition not matching declaration 2005-04-27 19:29:36 +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
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
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
241036375c bug 92768 - expected invalid type problem
- fix also class cast exception in CPPField.getPrimaryDeclaration
2005-04-26 15:59:14 +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
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
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
Andrew Niefer
5b282cb2f4 - consider template parameter default values
- partially fixes 76951, fixes 90670
2005-04-22 20:32:54 +00:00
Andrew Niefer
7aef086165 fix bug 45129
- function to pointer conversion
- fix loop in argument deduction of template arguments from function types
2005-04-22 17:46:01 +00:00
Andrew Niefer
7d7fa374bf Templates.
- better handling of specializations
- argument deduction, ranking of specializations and overloaded function templates
- this fixes or addresses part of bugs 90682, 90684, 90668, 90686, 90672, 90678
2005-04-22 15:32:12 +00:00
Bogdan Gheorghe
365b5f320c Fix for Search Test suite (to take into account new Search Engine)
Fix for reference tests in Search Test suite
2005-04-22 15:12:07 +00:00
Bogdan Gheorghe
cef2041f15 First pass at new Search Engine (queries the index directly - dramatically increasessearch performance; still missing definitions, function parms, Working Copy)
Refactored CIndexStorage - got rid of operations dealing with multiple indexes
Modified the SourceIndexer to encode the proper offsets for references
2005-04-21 15:46:06 +00:00
Doug Schaefer
dd0c8223c8 A half hearted attempt at completion inside a template id. 2005-04-20 20:26:02 +00:00
Bogdan Gheorghe
cf1d5bf0d1 Dave Daoust's patch for 91946 w/ Modifications
Cleaned up deprecated Search UI
2005-04-20 05:59:37 +00:00