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

1335 commits

Author SHA1 Message Date
Sergey Prigogin
93af246156 Bug 45203. Added few tests and fixed bugs uncovered by them. 2013-08-15 10:27:55 -07:00
Sergey Prigogin
a0ac619929 Bug 45203. Added a test for indirect header export and fixed a bug
uncovered by the test.
2013-08-15 10:25:38 -07:00
Sergey Prigogin
ca5586f8be Bug 414624 - Add Include command doesn't honor Organize Includes
preferences
2013-08-14 09:27:35 -07:00
Sergey Prigogin
eca8e6004c Bug 414838 - New class creation doesn't properly handle include path
with directories for non-system headers.
2013-08-11 22:10:24 -07:00
Marc-Andre Laperle
1524122c03 Bug 414827 - ClassCastExceptions in ToggleNodeHelper using C file
Change-Id: Ia98176f3a532432a02758c23cc515566d83b3efd
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/15325
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-08-11 15:49:12 -04:00
Sergey Prigogin
9d1ea68fe6 Bug 45203. Eliminated formard declarations for bindings defined or
declared in included headers.
2013-08-06 18:48:44 -07:00
Sergey Prigogin
d27cdd90ca Bug 45203. Fixed a bug and added test for function calls with reference
parameters.
2013-08-06 15:31:07 -07:00
Sergey Prigogin
d9d69d49a2 Bug 45203. Don't forward declare types of function parameters since
the header containing the function declaration must declare them.
2013-08-06 13:10:55 -07:00
Sergey Prigogin
9d234dcfce Bug 45203. Fixed a bug in handling of pointer-to-typedef function
parameters.
2013-08-05 20:31:50 -07:00
Sergey Prigogin
3ddf467f4d Bug 45203. Proper handling of NULL function arguments. 2013-08-05 16:55:36 -07:00
Sergey Prigogin
44dab709d9 Bug 45203. Added a test. 2013-08-05 11:47:30 -07:00
Sergey Prigogin
2d1cd7f89c Bug 45203. As a matter of policy, a header declaring a function is
responsible for defining parameter types that allow implicit conversion.
2013-08-04 21:44:25 -07:00
Sergey Prigogin
be62d685af Bug 45203. Added more tests and fixed problems uncovered by the new
tests.
2013-08-02 17:38:10 -07:00
Sergey Prigogin
5ee378e351 Minor test adjustment. 2013-08-02 15:16:32 -07:00
Sergey Prigogin
983f7529a3 Bug 45203. Support for symbols exported by multiple headers. 2013-08-02 13:52:42 -07:00
Sergey Prigogin
2cb5f8a29a Bug 45203. Added more tests and fixed issues uncovered by them. 2013-08-01 15:10:22 -07:00
Sergey Prigogin
4726136341 Bug 45203. Don't include headers defining superclasses if the header
defining a subclass is included.
2013-08-01 14:15:18 -07:00
Sergey Prigogin
2ac00ea300 Bug 45203. Properly generate include statements for external macro
definitions.
2013-07-31 18:15:41 -07:00
Sergey Prigogin
5bd1220fc8 Cosmetics. 2013-07-30 10:47:46 -07:00
Sergey Prigogin
b603ca080d Bug 45203. Produce include staements for macros. Don't generate include
statements for types brought in by macro expansion.
2013-07-29 14:30:41 -07:00
Marc-Andre Laperle
464d961959 Fix TestSharedDefaults test that was failing due to test order (Junit4)
Modified the test so that it checks the value in the backend storage
(xml) instead of comparing the same map object.
2013-07-28 01:34:14 -04:00
Marc-Andre Laperle
2f8589b53d Fix CallHierarchy tests that were failing due to test order (Junit4) 2013-07-28 01:14:35 -04:00
Sergey Prigogin
0efa436797 Fixed few issues causing unnecessary includes for template arguments and
target types of typedefs.
2013-07-26 21:13:25 -07:00
Marc-Andre Laperle
f0e74dac11 Fix failing test in MarkOccurrenceTest on Eclipse 4.3
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2013-07-26 00:42:30 -04:00
Nathan Ridge
8f78f34f19 Bug 412463 - Code completion stops working in the presence of predefined
macro

Change-Id: Iabeb0742ce5564a150f859185c0f8eb64805955a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14399
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-07-09 21:58:36 -04:00
Nathan Ridge
652d4f7bc0 Bug 412463 - Code completion stops working in the presence of
preprocessor-provided macros

Change-Id: Ifc5621133ac1ad55276e3d0c1ea8f99d9101938a
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14354
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-07-08 13:34:41 -04:00
Thomas Corbat
e843235fc4 Bug 412187 Formatting function-like macro call in equals initializer
Added IASTExpressions to the exclusion in enterNode of
CodeFormatterVisitor when encountering function like macro calls.

Change-Id: I8ea6c5e7ba955299b0d6ca48c93fac275afa65e3
Reviewed-on: https://git.eclipse.org/r/14213
Reviewed-by: Thomas Corbat <tcorbat@hsr.ch>
IP-Clean: Thomas Corbat <tcorbat@hsr.ch>
Tested-by: Thomas Corbat <tcorbat@hsr.ch>
2013-07-08 08:25:25 -04:00
Marc-Andre Laperle
718d7de48e Bug 412057 - UI tests don't run on Mac Cocoa using Tycho build
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2013-07-03 21:02:43 -04:00
Simon Marchi
5aed22487a Bug 411911 - Fix some GNU formatter defaults
Signed-off-by: Simon Marchi <simon.marchi@polymtl.ca>
Change-Id: Idf974c14be894dffecb3e48938732fbd9f227cea
Reviewed-on: https://git.eclipse.org/r/14144
Reviewed-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
IP-Clean: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Tested-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2013-07-02 17:40:02 -04:00
Marc-Andre Laperle
b6c0cb12db Bug 412032 - Extract local variable doesn't suggest a name in C source
files

Change-Id: I73e7f80713132521d757482c6ffbf839b5d2679f
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/14168
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-07-01 16:12:38 -04:00
Sergey Prigogin
a79028d2fc Bug 45203. User configurable header substitution rules. 2013-06-14 15:54:13 -07:00
Sergey Prigogin
596d2825e3 Bug 410074 - Refactoring throws NullPointerException 2013-06-06 20:49:03 -07:00
Sergey Prigogin
dc086d6a53 Combined classes CPPNameCollector and CNameCollector into a single
NameCollector class, as was suggested by Nathan Ridge.
2013-05-26 11:27:05 -07:00
Sergey Prigogin
6ffc402b86 Generics. 2013-05-26 11:23:00 -07:00
Sergey Prigogin
5700e27b7b Bug 403418 - Type Hierarchy view does not show class templates. 2013-05-17 19:33:58 -07:00
Sergey Prigogin
6052044cdc Cosmetics. 2013-05-17 19:31:38 -07:00
Sergey Prigogin
53e2492c02 Bug 402878. Fixed CppCallHierarchyTest.testClosures_316307 test. 2013-05-17 16:01:58 -07:00
Sergey Prigogin
f70ab948fc Cosmetics. 2013-05-12 11:20:09 -07:00
Nathan Ridge
5189876f06 Bug 407807 - [Content Assist] No completion for members of object that
shadows object in base class

Change-Id: I30bf6064de788f766f871cdea1776d849c8284c5
Reviewed-on: https://git.eclipse.org/r/12733
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-05-12 13:51:10 -04:00
Andrew Gvozdev
bc3943616d bug 401961: Fixed failing test case 2013-05-01 14:44:21 -04:00
Andrew Gvozdev
36f8e63fcf Reverted accidentally committed changes from last commit 2013-04-29 16:42:53 -04:00
Andrew Gvozdev
f2bd5750b5 bug 403405: Change default of isLanguageSettingsProvidersFunctionalityEnabled() to be true if the preference is not defined 2013-04-29 16:19:46 -04:00
Sergey Prigogin
163df7dbad Bug 45203. Improved loop detection. 2013-03-30 17:42:58 -07:00
Sergey Prigogin
54919b0124 Bug 45203. Added transitive closing of include maps. 2013-03-30 10:41:59 -07:00
Sergey Prigogin
e6bae40308 Bug 45203. Added support for IWYU export pragmas. 2013-03-22 16:47:51 -07:00
Sergey Prigogin
20d1ecd441 Fixed a broken test. 2013-03-15 15:44:52 -07:00
Sergey Prigogin
48c9cc0b73 Merge branch 'bug_45203' 2013-03-14 17:25:27 -07:00
Sergey Prigogin
7ac4d43010 Bug 45203. Major milestone - Organize Includes command is ready for
alpha testing.
2013-03-14 17:20:22 -07:00
Sergey Prigogin
6a55086327 Don't reuse the same progress monitor across test runs. 2013-03-12 20:08:16 -07:00
Jesse Weinstein
e063f00b67 Bug 240692 -- Fix rename for templates
Just a failing test, so far.

Change-Id: Idb923862614ff2f1b7736495d8a2d8967e278de7
Reviewed-on: https://git.eclipse.org/r/11064
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-03-12 18:29:23 -04:00