1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-04 15:45:25 +02:00
Commit graph

11722 commits

Author SHA1 Message Date
Sergey Prigogin
3d1f02ef15 Bug 414624 - Add Include command doesn't honor Organize Includes
preferences
2013-08-14 10:01:34 -07:00
Sergey Prigogin
ef9d910d5f Cosmetics. 2013-08-14 09:34:46 -07:00
Sergey Prigogin
e9ef1ef7fe Bug 414838 - New class creation doesn't properly handle include path
with directories for non-system headers.
2013-08-11 21:47:35 -07:00
Marc-Andre Laperle
3ed44ffc55 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 16:10:30 -04:00
Sergey Prigogin
a2a965e83e Bug 45203. Added substitution rules for few additional standard C++
headers.
2013-08-08 11:27:37 -07:00
Sergey Prigogin
b042de243a Bug 414624. First step towards code reuse between Add Include and
Organize Includes commands.
2013-08-07 20:35:59 -07:00
Sergey Prigogin
e2ef1d3d9f Bug 45203. A preference for forward-declaring external variables. 2013-08-07 11:53:34 -07:00
Sergey Prigogin
d995ec8bbe Bug 45203. Allowed partner indirect inclusion by default. 2013-08-07 11:49:45 -07:00
Sergey Prigogin
d391fe1c2f Bug 45203. Transitively close header substitution maps before applying
them.
2013-08-06 20:37:42 -07:00
Sergey Prigogin
5de251e861 Bug 45203. Include call stack in the error message. 2013-08-06 20:35:53 -07:00
Sergey Prigogin
9218e9772d Bug 45203. Eliminated formard declarations for bindings defined or
declared in included headers.
2013-08-06 18:56:50 -07:00
Sergey Prigogin
584581546e Bug 45203. Fixed a bug and added test for function calls with reference
parameters.
2013-08-06 15:37:32 -07:00
Sergey Prigogin
fe19d016ad Bug 45203. Don't forward declare types of function parameters since
the header containing the function declaration must declare them.
2013-08-06 14:26:25 -07:00
Sergey Prigogin
a2ac17aa17 Bug 45203. Fixed a bug in handling of pointer-to-typedef function
parameters.
2013-08-05 20:35:53 -07:00
Sergey Prigogin
bdcf204257 Bug 45203. Special handling for user-provided hash functors. 2013-08-05 20:35:31 -07:00
Sergey Prigogin
9b03c5aa82 Bug 45203. Proper handling of NULL function arguments. 2013-08-05 16:58:36 -07:00
Sergey Prigogin
bd885106ae Bug 45203. When choosing between equaly good headers prefer previously
included ones.
2013-08-05 15:49:14 -07:00
Sergey Prigogin
2c7eb4ad91 Bug 45203. Added organizeIncludes.* preferences to C/C++ Code Style
preference export.
2013-08-05 12:46:31 -07:00
Sergey Prigogin
ddae32ff15 Bug 45203. Added a test. 2013-08-05 11:51:37 -07:00
Sergey Prigogin
1996329e84 Cosmetics. 2013-08-04 21:51:25 -07:00
Sergey Prigogin
e6b1b47b74 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:50:02 -07:00
Sergey Prigogin
c28db0a5c0 Bug 45203. Added more tests and fixed problems uncovered by the new
tests.
2013-08-02 17:43:14 -07:00
Sergey Prigogin
f4189de26c Bug 45203. Support for symbols exported by multiple headers. 2013-08-02 15:10:58 -07:00
Sergey Prigogin
eb286477ff Bug 45203. Added more tests and fixed issues uncovered by them. 2013-08-01 15:15:30 -07:00
Sergey Prigogin
15d4d54697 Bug 45203. Don't include headers defining superclasses if the header
defining a subclass is included.
2013-08-01 14:21:49 -07:00
Sergey Prigogin
471cde58cb Bug 45203. Properly generate include statements for external macro
definitions.
2013-07-31 18:26:49 -07:00
Sergey Prigogin
71bff4adc7 Cosmetics. 2013-07-31 18:25:34 -07:00
Sergey Prigogin
f69047adf4 Bug 413357 - Change of scanner info provider doesn't take effect until
Eclipse restart

Change-Id: I52dc82c7137ccd6507e626ffba8c49180d515e7f
Reviewed-on: https://git.eclipse.org/r/14716
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-31 11:53:33 -07:00
Sergey Prigogin
347a34a014 Bug 45203. Fixed accounting of already processed bindings. 2013-07-29 20:32:02 -07:00
Sergey Prigogin
62671e05e9 Bug 45203. Produce include statements for macros. Don't generate include
statements for types brought in by macro expansion.
2013-07-29 14:35:08 -07:00
Sergey Prigogin
4545b4c873 Cosmetics. 2013-07-29 14:33:42 -07:00
Sergey Prigogin
83c26578b8 Moved getPureVirtualMethods method to SemanticQueries. 2013-07-28 13:16:52 -07:00
Nathan Ridge
266e36403a Bug 351612 - Pure virtual implementation not recognized if multiply
inherited

Change-Id: I1e9141fbb5cc72bb7b59b77d6faf958726094e5f
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14906
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-28 13:15:45 -07:00
Sergey Prigogin
e03dc2bcd1 Cosmetics. 2013-07-28 13:14:33 -07:00
Sergey Prigogin
b7f26a90fa Cosmetics. 2013-07-28 13:13:26 -07:00
Sergey Prigogin
c844c03aee Fixed few issues causing unnecessary includes for template arguments and
target types of typedefs.
2013-07-28 13:12:20 -07:00
Sergey Prigogin
1bd522abc4 Fixed ordering of includes - A.h should be sorted before A_a.h 2013-07-28 13:11:04 -07:00
Sergey Prigogin
28a3645990 Dropped the word "Map" from "GCC C/C++ Header Substitution Map". 2013-07-28 13:09:24 -07:00
Sergey Prigogin
02d438a3dd Cosmetics. 2013-07-28 13:08:13 -07:00
Nathan Ridge
5b6fca2b32 Fixed another "unsafe method call" exception.
Change-Id: I9080867272856acfd7af0e6790a6c81000cc25f1
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14854
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-28 13:07:03 -07:00
Nathan Ridge
ec6fb10d7a Bug 413406 - [false negative] Ambiguous base class lookup
Change-Id: I9f81619eb40456529fbfe4ce42ced661b9f1dac2
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14728
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-24 10:56:16 -07:00
Nathan Ridge
2accba3b07 Bug 413204 - "field could not be resolved" error in function returning
function pointer

Change-Id: I9f2e9b0f46a46232961948fd3d4310e520d95774
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14763
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-23 18:43:44 -07:00
Sergey Prigogin
9827378be6 Cosmetics. 2013-07-21 19:30:00 -07:00
Nathan Ridge
2050fe2bfb Bug 407497, Bug 399454 - Specialize template parameters when appropriate
Change-Id: Iff52b04319234ca8e5fe0f9b23d5d1787cee4449
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14533
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-21 19:26:14 -07:00
Sergey Prigogin
2dcd01336a Bug 400073. Avoid premature removal from recusion protection sets. 2013-07-17 15:21:16 -07:00
Marc-Andre Laperle
31e0f061b8 Bug 412555 - ClassCastException in EvalID.instantiate
Change-Id: I38ecb4f07834e7a2466ab42e048f32bfc1fccb50
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/14540
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2013-07-17 13:41:41 -07:00
Nathan Ridge
df67e49a41 Bug 389578 - __sync_bool_compare_and_swap and
__sync_val_compare_and_swap buitlins not recognized by codan 

Change-Id: If72c0fcc631305eb6fd9251658f40e930beb48a0
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14610
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-17 11:58:19 -07:00
Nathan Ridge
34341139d9 Bug 412463 - Fix an NPE
Change-Id: Ib38ca0033ee8db1123f8d6a2be990d17dccb9f14
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14544
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-17 11:56:18 -07:00
Sergey Prigogin
d76225e01d Bug 400073 - Indexer runs out of memory. An attempt to fix a memory
leak.
2013-07-17 11:54:54 -07:00
Tom Hochstein
9dd2b804a3 Bug 412601 - Preprocessor Entries properties tab should list languages
alphabetically by name, not id

Change-Id: I575ca197c464287f7894d83abe7bd7ddb2e8f2d0
Signed-off-by: Tom Hochstein <tom.hochstein@freescale.com>
Reviewed-on: https://git.eclipse.org/r/14417
Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com>
IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com>
Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
2013-07-17 11:52:46 -07:00