1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-31 20:23:26 +02:00
Commit graph

22111 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
bb84b5cba3 Bug 352267 - Assignment in condition checker matches the whole
expression

Change-Id: I7aea1c5d404a8d374020e34c997e6e890fcdb3d6
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14764
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 19:42:58 -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
b7a0a1046c Bug 413373 - Allow variable substitution in GDB command file name
Change-Id: I78f8354bdfc4b3e35cd674d29d4bd68f15860a12
Reviewed-on: https://git.eclipse.org/r/14718
Reviewed-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
IP-Clean: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
Tested-by: Mikhail Khodjaiants <mikhailkhod@googlemail.com>
2013-07-23 15:30:47 -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
Nathan Ridge
33fcecc5b0 Bug 363884 - NPE using 'Add break statement' quick fix
Change-Id: I240b196d04b5f032bfaa9666db595b788b7a1d02
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14640
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-18 10:47:59 -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
111a01f5a6 Bug 393129 - Do not give "unused symbol" warning for file-scope variable
used in an asm block

Change-Id: I2088bed2dd26af1220069dbdf18fda17d32fdf21
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14608
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:57:53 -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
530cebe310 Added missing copyright comments and cleaned up localizable messages. 2013-07-17 11:52:00 -07:00
Sergey Prigogin
7224a200e7 Normalized dependencies. 2013-07-17 11:51:16 -07:00
Nathan Ridge
0e54d7bc14 Bug 399146 - Bogus 'statement has no effect' warning for call to
overloaded operator

Change-Id: Ie2092903356e048d96b8507ce30ec2d3edc2b2f7
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14534
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:50:20 -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
Nathan Ridge
e876bb04f2 Bug 400673 - [c++11] Unnecessary warning in class constructor (not
initialized member) when using "in class member initialization" 

Change-Id: I4e6af3b0927d44f0bb5417d7788fc9a026f8fb7c
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14397
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:45:25 -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