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

11698 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
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
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
Sergey Prigogin
df587a379d Cosmetics. 2013-07-17 11:11:29 -07:00
Sergey Prigogin
67779e5dd1 Code streamlining. 2013-07-17 11:11:11 -07:00
Sergey Prigogin
ab962529ba Bug 410136 - Exception when editing CDTMainWizardPage in Windows Builder 2013-07-17 11:10:10 -07:00
Sergey Prigogin
dbf294e305 Cosmetics. 2013-07-17 11:09:31 -07:00
Sergey Prigogin
e6e7540c2f Don't produce a blank line at the top of the file if file comment
template is blank. Trim blank lines at the end of the file.
2013-07-17 11:09:05 -07:00
Andrew Gvozdev
1a2ea1babc Bug 412919: Show project refreshing after build in progress monitor as a separate task 2013-07-15 21:35:48 -04:00
Andrew Gvozdev
c3f5695fec Bug 412989: GCC Builtin Compiler Settings won't clear its entries 2013-07-15 12:32:37 -04:00
Anton Leherbauer
7d4653b085 Bug 412081 - Exception enabling mark occurrences on an external file 2013-07-15 14:51:54 +02:00
Andrew Gvozdev
fc77bb25a2 Bug 412919: Progress monitor shows previous build command rather than the one which is running 2013-07-14 10:17:39 -04:00
Marc-Andre Laperle
cca1933f7a 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:21:04 -04:00