Andrew Niefer
34db07a830
small changes to help with template parsing
2004-04-06 18:12:55 +00:00
Andrew Niefer
671986dfa7
fix for bug 47625
2004-04-06 15:38:08 +00:00
John Camelon
d22e72fb14
org.eclipse.cdt.core
...
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=39704
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=29060
org.eclipse.cdt.core.tests
Moved testBug39704A(), testBug39704B(), testBug39704C() & testBug39704D() from ASTFailedTests to QuickParseASTTests.
2004-04-06 14:37:29 +00:00
John Camelon
70aaf923d3
org.eclipse.cdt.core
...
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=47797
org.eclipse.cdt.core.tests
Added ScannerTestCase::testBug47797().
2004-04-06 05:11:00 +00:00
Andrew Niefer
024eca4958
- performance improvements with Problem reporting originally from Dave Daoust
...
- added CompleteParseASTFactory.shouldThrowException, so we can ignore certain problems
encountered while parsing templates
- fix NPEs caused by bad type info objects
2004-04-05 18:18:57 +00:00
John Camelon
1d97cb0d81
Fixed NPE in CompleteParseASTFactory.createUsingDeclaration()
2004-04-05 05:24:40 +00:00
John Camelon
8a6680ea21
org.eclipse.cdt.core
...
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=54029
org.eclipse.cdt.core.tests
Added CompleteParseASTTest::testBug54029().
2004-04-05 04:25:33 +00:00
John Camelon
91571bd2e5
org.eclipse.cdt.core
...
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=56516
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=53786
org.eclipse.cdt.core.tests
Added CompleteParseASTTest::testBug56516() && CompleteParseASTTests::testBug53786().
2004-04-05 03:50:41 +00:00
John Camelon
9138c8d397
Removed warning.
2004-04-05 01:57:56 +00:00
Andrew Niefer
4973e16836
handle template explicit instantiations
...
partial fix for bug 56834
handle use of template default parameters
2004-04-02 19:20:34 +00:00
John Camelon
11d74c9995
org.eclipse.cdt.core
...
Updated SelectionSearch to work for functions, variables with initializers, etc.
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=39705
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=44336
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=36770
Partial fix for https://bugs.eclipse.org/bugs/show_bug.cgi?id=51428
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=39694
org.eclipse.cdt.core.tests
Added SelectionParseTest::testBaseCase_FunctionDeclaration().
Added SelectionParseTest::testBaseCase_FunctionDeclaration2().
Added SelectionParseTest::testBaseCase_VariableDeclaration().
Added SelectionParseTest::testBaseCase_Parameter().
Added QuickParseASTTests::testBug44336().
Added ScannerTestCase::testBug36770B().
Moved testBug39705() from ASTFailedTests to QuickParseASTTests.
Moved testBug39694() from ASTFailedTests to QuickParseASTTests.
2004-04-02 18:51:01 +00:00
John Camelon
8fda490dee
Partial fix for Bug 56614 - Content Assist] Global variables do not appear in a global completion list
2004-03-30 12:47:04 +00:00
Andrew Niefer
b5f7b12be4
fixed bug 56620 - Outline view stops on error on last line of block
...
(errorHandling() goes to far)
2004-03-29 22:21:45 +00:00
John Camelon
13b3c99749
Fixed Bug 56517 - Preprocessor skipping doesn't ignore the contents of string literals.
2004-03-29 20:56:02 +00:00
John Camelon
6537609bed
Remove warnings.
2004-03-28 23:00:41 +00:00
Andrew Niefer
8dde2f9a0e
better handling of template template parameters
2004-03-26 20:08:05 +00:00
Andrew Niefer
bb598c9a99
report references for symbols used in template-ids
2004-03-26 15:50:31 +00:00
Andrew Niefer
2153d2d6ec
ITokenDuple support for seperating fully qualified names that use template-ids,
...
also modify IASTFactory.createField & createVariable to take ITokenDuple for name
Better treatement for definitions of static members of template classes.
2004-03-25 22:10:50 +00:00
Hoda Amer
f2dba87e93
Joined effort with Bogdan, Added parser timeout capability that is used by Content Assist
2004-03-25 18:48:27 +00:00
Andrew Niefer
d15c793d77
- fix bug 55673
2004-03-23 16:46:12 +00:00
Andrew Niefer
5fdc4f5c05
Better handling of typedefs & fix various problems encountered while parsing templates
2004-03-22 18:23:22 +00:00
Hoda Amer
cb1e01065f
Fix for bug#54325 Refactor: Check for name collision
2004-03-19 17:02:18 +00:00
Andrew Niefer
51131345db
parsing template-ids, enabling template instantiations & class template partial specializations & indirectly fixes bug 54778
2004-03-18 23:20:16 +00:00
Andrew Niefer
e6f4fa5890
bug 55163 - Parser spins on for-init-statement
2004-03-17 21:33:49 +00:00
Andrew Niefer
4b5850c062
scanner performance improvements from Dave Daoust
2004-03-16 22:23:36 +00:00
Andrew Niefer
5a0369683c
This patch is the start of parsing templates. Template uses that don't require a template-id should work.
2004-03-15 16:17:42 +00:00
Andrew Niefer
3846748090
There was a NPE in CompleteParseASTFactory.createElaboratedTypeSpecifier in the case
...
where it was not a forward declaration and the symbol was not found during lookup.
report a IProblem.SEMANTIC_NAME_NOT_FOUND instead of NPE
2004-03-12 16:30:45 +00:00
Andrew Niefer
c8ecd11deb
bug 54639 Typedef of enumeration fails complete parse
2004-03-12 15:49:12 +00:00
Andrew Niefer
2d45963863
bug 54639 Typedef of enumeration fails complete parse
2004-03-12 15:44:06 +00:00
John Camelon
2a28b0cfa7
Refactoring of Scanner to allow reuse in GCCScannerExtension for #include_next
2004-03-11 20:47:34 +00:00
John Camelon
9b0029a7dd
Further performance improvements in Scanner.
2004-03-10 16:53:54 +00:00
Andrew Niefer
9838c1b387
bug 52948 - Content Assist -typedef'd types do not appear in the completion list
2004-03-09 19:07:22 +00:00
John Camelon
2805a77fe0
Put back the work to reconcile relative paths w/IResource readers which was lost upon merge.
2004-03-09 18:54:05 +00:00
John Camelon
f28275b669
Patch for Dave Daoust
...
Removed the Strings associated with constant value tokens and keywords -- it looks cleaner, and reduces the number of objects created (only by 30 to 40 K) (about 2% quicker)
Buffered the File I/O associated with reading inclusions.
Restructured the scanner into a large case statement with a few helper functions -- this is the start of removing the strings (or providing a preallocated buffer for string manipulation) (about 2% quicker)
2004-03-09 18:22:35 +00:00
Hoda Amer
29adda7a82
Partial Fix for bug#52948
2004-03-08 21:20:11 +00:00
Andrew Niefer
71de5821df
bug 53213- Externalize Strings
2004-03-04 18:00:20 +00:00
John Camelon
3f823a9e08
org.eclipse.cdt.core
...
Refactored parser for further content assist work.
org.eclipse.cdt.ui.tests
Updated failed test to fail in new way as Content Assist feature work continues on ...
2004-03-03 20:07:59 +00:00
John Camelon
9ec8dc475a
Updated ChangeLog.
2004-03-03 16:43:22 +00:00
John Camelon
fc37d2f92c
org.eclipse.cdt.core
...
Added some trace statements to CompleteParseASTFactory.
Cleaned up usage of Enum.getValue() wrt encapsulation of enumerator value.
Refactored CompleteParseASTFactory for correctness and abstraction.
Added preliminary IProblem support to CompleteParseASTFactory.
Added (commented out unfortunately) assertions into CompleteParseASTFactory.
Updated IASTUsingDeclaration to return an Iterator for declarations mapped rather than just a single declaration.
org.eclipse.cdt.core.tests
Updated tests to deal with IASTUsingDeclaration interface changes.
org.eclipse.cdt.ui
Cleaned up usage of Enum.getValue() wrt encapsulation of enumerator value.
2004-03-03 15:59:56 +00:00
Andrew Niefer
0f74ca46c3
bug 52695: IASTClassSpecifier.getDeclarations returns an empty iterator
2004-03-01 21:18:11 +00:00
Andrew Niefer
95f42aeb9e
Bug 53213: Externalize Strings
2004-02-26 23:10:24 +00:00
Bogdan Gheorghe
2e497d6a54
- First go at adding selection search to CDT. You can now search for Declarations, References in Workspace, WorkingSets triggered from the CEditor, CView or COutline.
...
- Added Dependency NPE check + test
- Selection Parser change from John
- Cleaned up search properties file
2004-02-25 23:24:04 +00:00
John Camelon
f070a52e93
org.eclipse.cdt.core
...
Fixed Bug 43051 : Search: cannot specify relative search paths
Fixed Bug 45140 : refactor IScanner to allow use of Readers of IResource
org.eclipse.cdt.core.tests
org.eclipse.cdt.ui
Updates for new ISourceElementRequestor interface updates.
2004-02-25 22:18:51 +00:00
John Camelon
ba9fc2e462
org.eclipse.cdt.core
...
Updated Scanner to allow for invalid identifier names despite C++'s best efforts at maintaining its honour.
org.eclipse.cdt.core.tests
Added ScannerTestCase::testGerman().
2004-02-25 15:30:21 +00:00
John Camelon
d0ae8c2f99
Refactoring Scanner.handleInclusion to be more modular.
2004-02-25 02:41:41 +00:00
Andrew Niefer
b4309ac47a
Start of bug 51485: PST Templates: Explicit Specialization
2004-02-24 22:09:59 +00:00
John Camelon
35ad4ab120
Fixed https://bugs.eclipse.org/bugs/show_bug.cgi?id=52823
2004-02-24 18:18:56 +00:00
John Camelon
ac87e55ae0
Partial Fix for Bug 52534 - Selection Search offset limit reached is broken
2004-02-24 16:01:32 +00:00
Doug Schaefer
22dcf4b013
Undo!
2004-02-23 19:53:47 +00:00
Doug Schaefer
e10c748d02
Testing out asserts.
2004-02-23 19:25:00 +00:00