1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-19 14:15:50 +02:00
Commit graph

11760 commits

Author SHA1 Message Date
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
Sergey Prigogin
ed18e296f9 Deprecated AbstractCLikeLanguage.getScannerExtensionConfiguration()
method.
2013-07-17 11:48:29 -07:00
Nathan Ridge
1715d11177 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-17 11:46:38 -07:00
Nathan Ridge
7aabe920e7 Fixed an "unsafe method call" exception.
Change-Id: Iacc5a6a5c410766bd14ef2ec4ac626d1077e93b6
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14398
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:46:15 -07:00
Thomas Corbat
0d801f0615 Refactoring:
- Merged declaration an initialization of result variable in
initializerList, as conditional initialization is executed exactly once,
unless a parse exception occurs.
- Removed dead code: Conditional return.

Change-Id: Ia8c2bcb5f76a56d6b71ad80095a546ebd4f9ac03
2013-07-17 11:45:02 -07:00
Sergey Prigogin
f1d8f063a5 Cosmetics. 2013-07-17 11:44:11 -07:00
Nathan Ridge
bd09498344 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-17 11:42:49 -07:00
Sergey Prigogin
4f0f0bd8f1 Removed an obsolete parsing mode. 2013-07-17 11:42:37 -07:00
Thomas Corbat
046f50d715 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-17 11:42:18 -07:00
Nathan Ridge
884f6e2044 Bug 408303 - [C++11] Incorrect member not initialized warnings for
template class's defaulted constructors

Change-Id: I61064421c2cee405c9a915abe500c94fa4423eef
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14177
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:40:49 -07:00
Sergey Prigogin
01b1f9a14a Do not insert a space between two closing angle brackets. 2013-07-17 11:40:02 -07:00
Sergey Prigogin
cd99f21d10 Adjusted JavaDoc. 2013-07-17 11:39:10 -07:00
Sergey Prigogin
4f83a22aa2 Fixed version mismatch between MANIFEST.MF and pom.xml. 2013-07-17 11:36:40 -07:00