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

177 commits

Author SHA1 Message Date
Nathan Ridge
cba60d6c1b Bug 416284 - Unsafe method call, using nested templates
Change-Id: I08732af62f43c03f362d4602736ef6b8e0f227e9
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/16147
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-09-06 19:54:41 -04:00
Marc-Andre Laperle
053eb6c10f Fix pom versions 2013-09-03 22:04:33 -04:00
Sergey Prigogin
b1c45c2a12 Revert "More version changes."
This reverts commit f7587615bb.
2013-08-23 09:15:58 -07:00
Sergey Prigogin
f7587615bb More version changes. 2013-08-22 20:00:17 -07:00
Nathan Ridge
b3b9eb576e Bug 414279 - Derived class method that overrides a base class method
brought into the derived scope with a using-declaration

Change-Id: Ibeb49dddb7ef3768ffd4964e22a139afba8690fb
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/15573
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-08-19 13:59:42 -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
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
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
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
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
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
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
724e1991ac Cosmetics. 2013-05-22 10:22:38 -07:00
Danny Ferreira
20e43a2744 Bug 402607 - [c++11] Invalid "member was not initialized warning" with
delegating constructors

Change-Id: I521918be7b8c1dd867b53bd22f7646e610651fb6
Reviewed-on: https://git.eclipse.org/r/13043
Reviewed-by: Nathan Ridge <zeratul976@hotmail.com>
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-05-22 13:19:23 -04:00
Sergey Prigogin
cc82847af6 Bug 404774 - Invalid implicit ctor call is not marked as error 2013-04-02 23:48:43 -07:00
Sergey Prigogin
96fbfd6f00 Enabled assertions during tests. 2013-02-05 10:07:41 -08:00
Sergey Prigogin
4346a7377f Renamed few classes to distinguish tests from their base classes. 2013-01-23 11:36:51 -08:00
Sergey Prigogin
e4943b330a Fixed broken test. 2013-01-05 12:36:54 -08:00
Nathan Ridge
032c010a82 Bug 395018 - False 'member was not initalized in this constructor'
warning for defaulted copy/move constructor

Change-Id: Ib7800e46174b195fd15daef923abfff482fd3aff
Reviewed-on: https://git.eclipse.org/r/9059
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-12-07 13:11:57 -05:00
Nathan Ridge
8cf540fbf6 Bug 365498 - Strange warning placement for defaulted constructor
Change-Id: Ia80fbd9694310aff0900e80cb9175e101c653604
Reviewed-on: https://git.eclipse.org/r/9065
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-12-06 21:22:45 -05:00
Tomasz Wesolowski
660a75531a Bug 348387 - fp in ReturnChecker using try/catch 2012-11-17 01:38:45 -05:00
Markus Schorn
d643e121a0 Fix intermittent test failures. 2012-09-14 09:32:36 +02:00
Sergey Prigogin
3be412111c Bumped up feature versions for Kepler. 2012-06-28 11:08:11 -07:00
Sergey Prigogin
4e99b5aea4 Bug 383706 - Class member initialization checker produces false
positives on deleted constructors
2012-06-27 18:03:44 -07:00
Marc-Andre Laperle
af1c5c31d1 Bug 368611 - Bogus warning in template partial specialization 2012-05-13 13:45:31 -04:00
Sergey Prigogin
5a643e5e57 Made test more robust so that it doesn't fail when unrelated checkers
are present.
2012-04-28 17:57:36 -07:00
Sergey Prigogin
db6b4cf5ac Cosmetics. 2012-04-28 17:37:09 -07:00
Alex Ruiz
1f83e4aa21 Bug 372551. Codan support for writing checkers that invoke external
tools.

Change-Id: Ia5cfd24d54ec6e67e08f24a367a6bc689ae407d0
Reviewed-on: https://git.eclipse.org/r/5586
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2012-04-18 15:52:48 -04:00
Alena Laskavaia
77a06573a9 Bug 316076 - fixed f.p. when using gcc annotation about no return 2012-04-16 21:56:57 -04:00
Sergey Prigogin
ae7dc29df9 Bug 376790 - Codan should not issue warnings for unused variables and
functions that have attribute unused
2012-04-13 15:49:10 -07:00
Sergey Prigogin
ada23a9a2f Bug 372551. Removed the external tool checker support until all design
issues are resolved.
2012-03-13 18:42:16 -07:00
Marc-Andre Laperle
53bc0f10e6 Bug 368420 - FP in members not initialized in in copy constructor 2012-03-07 20:36:34 -05:00
Marc-Andre Laperle
0a9a95adcd Bug 368419 - FP in members not initialized in constructor 2012-03-07 01:33:16 -05:00
Marc-Andre Laperle
e912eb6f32 Bug 372009 - Wrong class name in NonVirtualDestructor warning 2012-03-05 01:31:48 -05:00
Sergey Prigogin
934adecf48 Adjustments to Alex's contribution. 2012-02-23 13:26:43 -08:00
Alex Ruiz
d7f5c2bd7c Minor code cleanup. 2012-02-23 13:26:24 -08:00
Alex Ruiz
00c29ec7eb Added more tests. 2012-02-23 13:25:46 -08:00
Alex Ruiz
f405944e2d Code cleanup:
- Merged CommandLauncher and ExternalToolInvoker
- Moved CppcheckChecker from project org.eclipse.codan.checkers to
org.eclipse.codan.checkers.ui
- Removed unnecessary dependencies on UI code in project
org.eclipse.codan.checkers
2012-02-23 13:24:18 -08:00
Alex Ruiz
de264b53a7 Added test for CommandLauncher. 2012-02-23 13:23:09 -08:00
Alex Ruiz
88d576787e Code cleanup, to make CommandLauncher testable. 2012-02-23 13:20:20 -08:00
Alex Ruiz
295466d26f Fixed test broken by accident.
Switched to System.arrayCopy instead of manual array copy.
2012-02-23 13:20:05 -08:00
Alex Ruiz
55b9874f5d Minor code cleanup. 2012-02-23 13:19:06 -08:00
Alex Ruiz
b25c644007 * Enabled correct API baseline (3.7) and fixed related API-check errors.
* Moved classes that are not part of the API to "internal" packages.
* Removed unnecessary classes.
* Simplified creation of checkers by providing alternative super class
and constructors.
2012-02-23 13:17:23 -08:00
Sergey Prigogin
aa4eae00dd Fixed a broken test. 2012-02-11 17:12:06 -08:00
Sergey Prigogin
1548edd7e5 Cosmetics. 2012-02-11 17:11:59 -08:00
Sergey Prigogin
3991fd8658 Fixed two broken tests. 2012-02-11 17:11:52 -08:00
Sergey Prigogin
5db78a20c8 Cosmetics. 2012-02-10 17:47:52 -08:00
Sergey Prigogin
8034e44101 Fixed few failing Codan tests. 2012-02-10 17:47:46 -08:00
Marc-Andre Laperle
d98768295b Bug 368446 - NonVirtualDestructor checker: stack overflow when class
inherits itself
2012-01-14 16:50:28 -05:00