1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-12 03:25:22 +02:00
Commit graph

82 commits

Author SHA1 Message Date
Anton Leherbauer
5ec0f9d046 Migrate AsmModelBuilder to new Lexer 2007-11-06 15:01:22 +00:00
Anton Leherbauer
57d7ac7888 Fix for 205567: Implement an assembly model builder 2007-10-23 11:20:30 +00:00
Andrew Ferguson
f68f137ed3 move templateengine testdata into conventional location which is picked up by the binary build 2007-06-19 16:07:50 +00:00
Andrew Ferguson
25213bca9f 191679: add some unit tests 2007-06-08 17:24:53 +00:00
Markus Schorn
21c0055276 Fix for 185408, API-compliance of IScope.find(String) 2007-05-07 11:27:55 +00:00
Andrew Ferguson
81eedf4bf3 181936: fix for support for function types 2007-04-24 15:43:57 +00:00
Andrew Ferguson
c7553e11bf 183160 - fix for class implicits 2007-04-20 11:29:57 +00:00
Anton Leherbauer
0addd64850 Fix for 180815: defining multiple globals variables at structure definition causes dublicate struct tag entries in outline view 2007-04-06 09:23:25 +00:00
Andrew Ferguson
ea99f62e2f fix include path issue, and add regression test 2007-03-28 11:01:08 +00:00
Andrew Ferguson
850c6c492d 179322: remove test case (bug is RESOLVED INVALID) 2007-03-27 13:04:41 +00:00
Andrew Ferguson
6c3076579d 179322: add unit test 2007-03-26 15:35:11 +00:00
Andrew Ferguson
250d34926b 169668: add unit tests + fix bugs 2007-03-22 18:50:26 +00:00
Andrew Ferguson
00ebcad325 fix handling of particular type of problem binding in KnR style function declarations 2007-03-19 12:08:51 +00:00
Anton Leherbauer
cb6c40b03b Fix for bug 161913 - Migrate CModelBuilder to use DOM AST 2006-11-30 13:30:42 +00:00
Andrew Ferguson
773b11c204 165213: undo misadventure with abstraction 2006-11-23 18:31:38 +00:00
Andrew Ferguson
94f1a13a14 Improve accuracy of index based binding resolution
this patch
 * improves pdom resolution binding (PDOMC*Linkage.resolveBinding)
 * fixes some broken binding resolution test data
 * has PDOMCPPField store type information
 * has PDOMCPPNamespaceAlias store what it is aliasing
2006-11-13 14:25:14 +00:00
Markus Schorn
e6a0b48500 Patch for 162581, by Andrew Ferguson, stack overflow in AST/PDOM. 2006-11-08 09:42:22 +00:00
Vivian Kong
b38a103a8e Bug 161609 - more testcases for PDOM/index 2006-11-06 15:43:39 +00:00
Markus Schorn
6b96ffedab Testcase for 162758, by Andrew Ferguson. 2006-10-30 16:38:09 +00:00
Markus Schorn
ae93a12c54 Testcase: parsing headers in context of sources. 2006-10-24 18:00:42 +00:00
Markus Schorn
d9a5d8e84f fixes 149571, timestamps for files in PDOM; fixes 161715, refined strategy for indexers;
disables indexer for most of the test cases
2006-10-24 17:10:50 +00:00
Markus Schorn
d54cf4d243 Fix for 156504 by Andrew Ferguson, Overloaded functions/methods in PDOM 2006-10-20 09:59:38 +00:00
Doug Schaefer
c12e07dd19 Patch for Alena, 161107. New PDOM Tests. 2006-10-18 18:38:35 +00:00
Markus Schorn
9b75c68712 junit test for bug 161216, static functions/vars in PDOM 2006-10-17 12:22:13 +00:00
Markus Schorn
b202de6bec Testcase for search in unnamed namespace. 2006-10-17 12:01:58 +00:00
Markus Schorn
ff384fe5c5 Test case and fix for 160913, search in namespaces. 2006-10-17 11:08:52 +00:00
Markus Schorn
4c2b2120e4 Variable and function annotations in PDOM, by Jason Montojo, bug 159595. 2006-10-13 08:46:20 +00:00
Doug Schaefer
b4c6a27239 Added allIncludedBy test from cdt_3_1. 2006-09-05 20:23:28 +00:00
Doug Schaefer
b4c738d66a Added support for nested classes. Changed the way member owners are done. 2006-08-02 14:36:41 +00:00
Doug Schaefer
58aa2a2651 Added typedefs to PDOM. 2006-07-21 18:27:06 +00:00
Doug Schaefer
4321e9a476 Add base classes to PDOM. 2006-07-19 03:44:26 +00:00
Doug Schaefer
3606664371 Added enums to PDOM (merged from 3.1 stream) 2006-07-14 19:46:26 +00:00
David Inglis
2ff46eeeab update error parser junits to read a set of files with output to feed parser
current and only file contains build output which causes to error parser to hang
2006-03-31 20:14:02 +00:00
David Inglis
cf09e84a32 CPL to EPL transistion - license header update for IBM 2005-06-23 16:02:46 +00:00
Doug Schaefer
fa0262f964 We now have template projects for all project types: C/C++
and Standard/Managed.
2004-11-22 14:59:34 +00:00
Doug Schaefer
753aa6132f Some clean up to make the core.tests plugin more 3.0 compliant.
Also added in a new ProjectCreator that creates projects from
prebuilt zip files.
2004-11-21 15:51:31 +00:00
Andrew Niefer
b8c65f150f tests to show that bug 68235 is not our problem 2004-06-22 21:48:31 +00:00
Hoda Amer
81b654bb3b Partial fix for bug#57526 [CModelTests] 2004-04-30 14:45:15 +00:00
Hoda Amer
53d5b620eb Partial fix for bug#57526 [CModelTests] 2004-04-29 16:07:55 +00:00
Hoda Amer
eed5db60c0 Partial fix for bug#57526 [CModelTests] 2004-04-27 17:31:48 +00:00
Hoda Amer
428f0da6e7 Partial fix for bug#57526 [CModelTests] 2004-04-27 17:03:16 +00:00
Hoda Amer
2937f68a8c Patch for Bogdan : Search for function with no parameters VS ignore parameters. 2004-02-09 15:46:40 +00:00
Hoda Amer
bcdd0ab7c3 Content Assist Work: More JUnit tests 2004-01-16 20:19:05 +00:00
Hoda Amer
1196d4a5ff Content Assist Work : Moved logging and testing to the UI side of CDT 2004-01-15 18:06:14 +00:00
John Camelon
e43eb360d1 Patch for Andrew Niefer.
This patch changes the handling of ambiguities during prefix lookup.
It also addresses problems in the symbol table to do with qualified 
lookup.  Fixing these revealed problems caused by the 
CompleteParseASTFactory not always using the correct lookup functions.  So 
the factory has been modified to call the appropriate lookups.

The following tests have been created:
        FailedCompleteParseASTTest.testBug47926
        CompleteParseASTTest.testQualifiedLookup
        ParserSymbolTableTest.testPrefixLookup_Ambiguities
        ParserSymbolTableTest.testQualifiedUnqualifiedLookup
        FunctionMethodPatternTests.testLookupForDefinition
2003-12-03 21:48:19 +00:00
Hoda Amer
4d7450e8fb Bug Fixes for the complete AST factory 2003-11-13 19:27:29 +00:00
John Camelon
c50efc6fd5 Patch for Andrew Niefer
core:
- modify CSearchPattern.scanForNames to use same naming convention as 
TokenDuple.toString()
- modify MatchLocator.report to use 
IASTOffsetableNamedElement.getNameEndOffset()

core.tests:
- added testBug43062 and testConstructorDestructor to 
FunctionMethodPatternTests
- modified resources/search/classDecl.cpp & include.h to include more 
operators and a constructor
2003-09-30 13:42:44 +00:00
Doug Schaefer
3b2b1c6a42 Patch for Bogdan Gheorghe:
This patch integrates the dependency calculator into
the indexer. As a result the underlying indexer file storage
format has changes. Lots of detail in the change logs of
exactly what changed...
2003-09-26 17:53:45 +00:00
John Camelon
05f6b423c8 Patch for Andrew Niefer
fix bug 43129 - report definitions for variables, fields, enumerators and 
namespaces.

core:
- check definitions for variables, fields, enumerators and namespaces
- handle enter/exitLinkageSpecification
  * search/org/eclipse/cdt/internal/core/search/matching/MatchLocator.java
  * 
search/org/eclipse/cdt/internal/core/search/matching/CSearchPattern.java

core.tests:
-added testbug43129() in OtherPatternTests
modified:
* resources/search/include.h
* resources/search/classDecl.cpp
* search/org/eclipse/cdt/core/search/tests/OtherPatternTests.java

ui:
 modify UI to allow selecting Definitions for more items
* src/org/eclipse/cdt/internal/ui/search/CSearchPage.java
2003-09-26 14:58:17 +00:00
John Camelon
3e361ae186 Core :
Solution to bug#43162 : Code Assist not showing the right return value: 
        Saved a function return value string in the BasicSearchMatch object. 
        Created a new package org.eclipse.cdt.internal.core.parser.util and 
        added ASTUtil class with static methods to help convert an ASTFunction 
        return type from IASTAbstractDeclaration to String. Note that this was 
        previously implemented in the CModelBuilder. I just moved it to a common 
        library for others (BasicSearchMatch) to use. 
UI: 
        Solutions to 
        bug#43162 : Code Assist not showing the right return value 
        Bug#43145 : foo function still showing in Code Assist even if "f" is deleted 
        Bug#42810 : Code Assist adding characters after pressing <enter> 
        Bug#42861 : Code Assist should be case insensitive. 

Tests: 
        Solution to bug#43162 : Code Assist not showing the right return value. 
        Solution to Bug#42861 : Code Assist should be case insensitive. 
        Modified the CompletionProposalsTest to include upper and lower cases 
        and to include functions with different return values.
2003-09-23 13:54:28 +00:00