1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-05 08:05:24 +02:00
Commit graph

22099 commits

Author SHA1 Message Date
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
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
Sergey Prigogin
328ef37fdb Cosmetics. 2013-07-17 11:41:08 -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
771db5ab3d Fixed an NPE. 2013-07-17 11:38:50 -07:00
Sergey Prigogin
4f83a22aa2 Fixed version mismatch between MANIFEST.MF and pom.xml. 2013-07-17 11:36:40 -07:00
Sergey Prigogin
355a61adba Cosmetics. 2013-07-17 11:34:22 -07:00
Sergey Prigogin
a0d72e24cc Bug 45203. User configurable header substitution rules. 2013-07-17 11:28:06 -07:00