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

3795 commits

Author SHA1 Message Date
David Inglis
0024d82142 fixed bug # 95556 2005-05-19 01:50:59 +00:00
David Inglis
3ee88519f0 fixed bug # 95556 2005-05-19 01:47:27 +00:00
Andrew Niefer
de61454474 update test for previous fix for 93980 2005-05-18 21:10:11 +00:00
Andrew Niefer
9ae1ab54c8 fix bug 93980 for C++ 2005-05-18 21:08:47 +00:00
Andrew Niefer
238118db0b fix bug 95734: conversion of integer literal 0 to pointer, also conversion of pointer to boolean 2005-05-18 20:34:09 +00:00
Andrew Niefer
59e8ca66d9 fix bug 95692 2005-05-18 18:40:16 +00:00
Andrew Niefer
3376e0abe0 fix bug 95741 2005-05-18 17:49:42 +00:00
Andrew Niefer
1b02dd9ecf == & != have boolean expression type 2005-05-18 17:13:13 +00:00
Andrew Niefer
5c33d3d918 fix bugs 95673, 95768 2005-05-18 15:51:16 +00:00
John Camelon
fbee283243 Patch for Devin Steffler.
FIXED 87179- [Selection] selecting #ifdef IASTName\r\n does not provide a proper IASTNode
FIXED 95573- [DOM AST] Code buffers not refreshed after file is saved
2005-05-18 00:40:10 +00:00
Andrew Niefer
ef268895cc fix deferred function template instance references 2005-05-17 21:55:16 +00:00
John Camelon
c1232687c2 Further restructuring of simple declaration grammar. 2005-05-17 19:44:26 +00:00
Vladimir Hirsl
693f2a4708 Fixed problem marker updating for files that are not indexed due to empty scanner info. Some refactoring of problem marker generation code. 2005-05-17 18:41:26 +00:00
Andrew Niefer
0751a71a3a GCC builtin functions via implicit bindings stored on translation unit scope.
by Devin Steffler with small changes
2005-05-17 18:40:38 +00:00
Andrew Niefer
7c1d5beb4f fix bug 95419 2005-05-17 18:04:08 +00:00
John Camelon
78f1bf9054 Fixed Bug 81739 - [GNUCSourceParser] Lookahead problem w/nested declarators 2005-05-17 17:59:08 +00:00
Bogdan Gheorghe
55f4eca137 Fix for 9551: [Open Declaration] does not highlight proper offsets with CTags when Indexer is required 2005-05-17 17:11:12 +00:00
Andrew Niefer
47c79f6013 fix bug 95484 2005-05-17 14:48:31 +00:00
Doug Schaefer
be56e7fcc7 Fixed deprecation warning. 2005-05-17 14:22:48 +00:00
Andrew Niefer
e62982abd7 fix bug 95461 (array to pointer conversion) 2005-05-16 21:39:46 +00:00
John Camelon
3fa54b37ea Applied patch for Devin Steffler.
FIXED 94135- All Declarations does not include the namespace scope in the search pattern
FIXED 95202- [NPE] on Open Declarations for C++ spec example
FIXED 95219- [Ctrl+Click] is enabled on everything except for keywords
FIXED 95224- [Open Definition] of destructor should have the same logic as constructors
FIXED 95225- [open definition] within constructor in a throw statement fails
FIXED 95229- [open declaration] infinite loop on keyword operator
FIXED 95372- DOMQuery#isLocal() should not reference internal DOM packages
2005-05-16 21:28:45 +00:00
John Camelon
5fa9743d78 Patch for Devin Steffler.
FIXED 95119- AST parser fails to parse character constant containing double quotes
2005-05-16 20:16:40 +00:00
Andrew Niefer
8fd55c89b6 fix bug 95425 (& 95415) - make sure implicit constructor A() matches both A() and A(void)
also, type of sizeof expression is size_t (if we can find it, otherwise use unsigned long int)
2005-05-16 19:56:09 +00:00
Bogdan Gheorghe
b920965dab Changed IMatch to return a IMatchLocatable instead of startOffset/endOffset (IMatchLocatable can then be further cast into IOffsetLocatable or ILineLocatable)
Updated all clients.
2005-05-16 18:24:31 +00:00
Doug Schaefer
bdecfcfc41 Cleaned up some obvious NLS warnings. Also turned off the warnings for the tests plugins. 2005-05-16 14:44:03 +00:00
Bogdan Gheorghe
fb6c76a062 Temporary Fix for UI JUnits 2005-05-16 12:50:49 +00:00
Andrew Niefer
5fb6783a6f clean up problem messages and add getLineNumber and getFileName for bug 84148 2005-05-13 20:44:57 +00:00
Andrew Niefer
8558156ee2 fix bug 95200 - targeted function resolution 2005-05-13 20:36:07 +00:00
Andrew Niefer
6ccc4b4462 fix ClassCastException for bug 95215
fix open declaration on template template parameter for bug 95221
2005-05-13 20:21:32 +00:00
Andrew Niefer
793e00edda modified version of patch from Devin Steffler for bug 95202 2005-05-13 19:52:38 +00:00
Vladimir Hirsl
6f27d5a71c - Files with empty scanner info are not indexed anymore. Info problem marker is created for each such file.
- Fix for resolving header file name for #include "..." preprocessor statements.
- Fix for updating Discovered scanner info container when discovered scanner info changes.
2005-05-13 19:39:24 +00:00
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
John Camelon
15c8faed14 Applied patch for Devin Steffler.
FIXED 43128- Search: cannot find declarations of local variables
2005-05-13 14:15:44 +00:00
Bogdan Gheorghe
c3d5a2813a Updated strigns for Fix for 94988: BaseTestFramework disableIndex() doesn't work 2005-05-12 17:40:27 +00:00
Bogdan Gheorghe
ee60cb456e Fix for 94988: BaseTestFramework disableIndex() doesn't work 2005-05-12 17:27:54 +00:00
Andrew Niefer
2d27b6de65 binary search for finding nodes in the DOM AST view 2005-05-12 16:20:31 +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
Alain Magloire
af17efc7a8 2005-05-12 Alain Magloire
Fix multiple warnings, the use of:
	Workbench.setHelp() --> PlatformUI.getWorkbench().getHelpSystem().getHelp()
	Use IShellProvider instead of shell.
	* files too many to enumerate
2005-05-12 14:34:45 +00:00
Alain Magloire
f1a99f9bca Remove warning. 2005-05-12 14:03:08 +00:00
Alain Magloire
8ecb6c287e 2005-05-12 Alain Magloire
Fix PR 93970
	* src/org/eclipse/cdt/internal/ui/cview/SelectionTransferDragAdapter.java
	* src/org/eclipse/cdt/internal/ui/cview/SelectionTransferDropAdapter.java
2005-05-12 13:58:31 +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
Vladimir Hirsl
fb26e4691f Fix for PR 91442: [Scanner Config] Saving per file DSC for Mozilla project chokes the system.
When there is new per file scanner info for number of files in a project, the project is refreshed only once (no recursive processing of change delta).
2005-05-11 20:07:41 +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