Nathan Ridge
cff738fe0b
Bug 430282 - Limit recursion depth when processing inheritance
...
hierarchies
Change-Id: Ia9d9f379cb61e8d8bc8d1fb33f893fcd2a0688a2
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/23957
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-04-06 20:56:18 -04:00
Marc-Andre Laperle
535ad23797
Fix intermittent test failures in codan
...
Sometimes, index-based checkers (AbstractIndexAstChecker) were skipped
because the indexer was not fully initialized so expected errors were
not getting reported.
Change-Id: Ibb764224f11ae4a867a4aa6b9de2b8ec55e90c55
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/23428
Reviewed-by: Nathan Ridge <zeratul976@hotmail.com>
Tested-by: Hudson CI
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-03-15 12:05:03 -04:00
Sergey Prigogin
5d7a19fa6c
Enabled JDK 1.7.
...
Change-Id: Ic2a161ea3c318dc1e8ba01c271c936bf5ed8763d
Reviewed-on: https://git.eclipse.org/r/21020
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-01-24 13:38:55 -05:00
Sergey Prigogin
1d166260a8
Bumped up CDT version to 8.4.
...
Change-Id: I1229344feaaed4a3551ceb7b1ef1410545048b55
Reviewed-on: https://git.eclipse.org/r/20908
Reviewed-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
IP-Clean: Sergey Prigogin <eclipse.sprigogin@gmail.com>
Tested-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>
2014-01-21 17:35:29 -05:00
Nathan Ridge
c126fade3d
Bug 419938 - [fp] Pure virtual implementation not recognized if only one
...
path implements it
Change-Id: I90732a87d8d6b4ad2a84aa3c8b09b10727afa994
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/19823
Tested-by: Hudson CI
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-12-16 00:40:02 -05:00
Nathan Ridge
62c4e62ff3
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-05 20:15:50 -04:00
Andrew Gvozdev
652ce4748e
Fixed parent pom version to reference
2013-08-27 15:16:24 -04:00
Nathan Ridge
be4ec06f4b
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-18 21:42:34 -04:00
Nathan Ridge
5fb92e3cf8
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 15:35:20 -04:00
Nathan Ridge
156990d03e
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 20:47:38 -04:00
Nathan Ridge
e18ad3974c
Bug 358694 - False warning about Unused static function in template
...
Change-Id: I0ebeef9db921239e896983c68e5291316209c2d2
Signed-off-by: Nathan Ridge <zeratul976@hotmail.com>
Reviewed-on: https://git.eclipse.org/r/14680
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-19 12:54:15 -04:00
Nathan Ridge
82d19e7096
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 13:18:19 -04:00
Nathan Ridge
55872baeae
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 13:25:26 -04:00
Nathan Ridge
70c9a7b642
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-14 15:08:54 -04:00
Nathan Ridge
c5b4670184
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-09 13:05:16 -04:00
Sergey Prigogin
c658e9df68
Cosmetics.
2013-07-07 17:17:03 -07:00
Nathan Ridge
44b957a28e
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-07 19:25:44 -04:00
Marc-Andre Laperle
718d7de48e
Bug 412057 - UI tests don't run on Mac Cocoa using Tycho build
...
Signed-off-by: Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
2013-07-03 21:02:43 -04: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