Marco Stornelli
dd88f8ffca
Bug 534420 - Added check for nodiscard for classes and enums
...
Change-Id: I3932f4d23f18f96f8d1c15c18d7d4d991154aca1
2020-04-08 14:26:56 +02:00
Marco Stornelli
a1ea26f817
Bug 561824 - Removed suppress warnings about API restrictions
...
Change-Id: I182a222ec09e1da88dfcf1d3066eb3e9eaba4a2c
2020-04-07 14:23:50 +02:00
Marco Stornelli
14936b92c6
Bug 534420 - Add checker for [[nodiscard]] attribute
...
Change-Id: I5e40a2d50281b669c62ed48ee1a3a399ca71981c
2020-04-06 09:22:03 -04:00
Alexander Fedorov
456afb3b8f
Bug 561637 - Remove Activator for CDT CodAn UI Cxx
...
Removed org.eclipse.cdt.codan.internal.ui.cxx.Activator
Change-Id: I0c1d55c0756762044d66746c276d28ae72ded7e6
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-04-01 07:20:06 -04:00
Alexander Fedorov
7458b960c9
Bug 561582 - Revise API for CDT Codan
...
Clean-up "org.eclipse.cdt.codan.checkers.ui.tests" test bundle
Change-Id: I0f5198cc85c85b0829f5a73574cec54f152ba0cf
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-30 13:46:24 -04:00
Alexander Fedorov
89ada0fae4
Bug 561582 - Revise API for CDT Codan
...
Declare "org.eclipse.cdt.codan.checkers" package as "x-internal"
Change-Id: Icf5486f370c1397ec0fdfc502878509f1e665e98
Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
2020-03-30 13:45:23 -04:00
Marco Stornelli
c2f51a8d23
[releng] Bump CDT version to 9.12.0
...
org.eclipse.cdt.debug.gdbjtag is bumped because of Bug 561343
Change-Id: I6dac283b7e9093662f57ac5c804021c4201ad6f1
2020-03-22 14:05:17 -04:00
Marco Stornelli
7a833fbb50
Bug 561088 - Fix read/write flags in case of dependent types
...
Change-Id: I072bb53a95d17137eb614bff34de6bd57a371d33
2020-03-21 02:34:48 -04:00
Marco Stornelli
dbbcb20dec
Bug 560846 - Allow shallow copy check in implementation files too
...
Change-Id: I3a9075a47f0c0cd557dd24e7c7be5d2dec23a1a6
2020-03-09 06:30:04 -04:00
Marco Stornelli
24ce60ba3f
Bug 534420 - Add support for [[maybe_unused]] attribute
...
Change-Id: I7214b4f9b11a190c81bad50dace87c69fe404886
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-30 13:56:44 -05:00
Marco Stornelli
c25c9672dc
Bug 485246 - Fix false positive no break at the end of the case
...
Change-Id: I4712dc9be3c52f3c4b2f9b79d327c43ded36967a
2020-01-19 07:47:30 -05:00
Marco Stornelli
2c266d91fc
Bug 515464 - Fix false positive no break at the end of case
...
Change-Id: I0b82f4d087dd868dc2184d75abd9156986837743
2020-01-19 09:59:50 +01:00
Marco Stornelli
471a49f379
Bug 273252 - Fix global scope check for C
...
Change-Id: Id2f43e0f89b80f06ce9a3b7035c4ba6f84a8cc1f
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-18 09:37:44 +01:00
Marco Stornelli
4e73ec9cc6
Bug 559007 - Fix label and tests
...
Change-Id: I37dd90e972f9ce326695ddd29b49e30c820752cc
2020-01-12 19:51:03 +01:00
Marco Stornelli
abb0b06e2f
Bug 559007 - Added new option to C-style cast checker
...
Add a new option to check in macro expansion. User, if want, can
disable this warning if it's in a macro expansion since the macro
used can be out of control of the user, for example a system
macro like FD_SET could be used.
Change-Id: I0efaaedd09087de87d9340d81ddbd7f2dc1e1abb
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-11 14:05:11 -05:00
Marco Stornelli
bacb42110e
Bug 546609 - Added checker for magic numbers
...
Change-Id: Idedcf15f9d5eb3a5d405fe8dc83131f1faf0efa3
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-04 12:09:38 +01:00
Jonah Graham
ca1ee32031
[releng] Update comparator repo for p2 compare and replace
...
Change-Id: Iff7e7ba98fe37f89d1b6b0e0754ef827925e849e
2020-01-03 15:16:28 -05:00
Marco Stornelli
2e761a5359
Bug 545714 - Added a shallow copy checker
...
Change-Id: I8998a98f9d7836405afcaf54bf241b0acbd9edea
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-03 14:11:08 -05:00
Marco Stornelli
55e08c0dfa
Bug 273252 - Added checker for variable masking
...
Added new checker for variable masking another in a parent scope
Change-Id: Icff6b6499a1d38cc5a719d143552bbe17d57b15c
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2020-01-03 02:17:30 -05:00
Jonah Graham
bd814fdaf9
[releng] Bump to CDT version 9.11.0
...
Change-Id: If729509efbddc71adb565e224437b76089d6e099
2019-12-07 15:24:34 -05:00
Jonah Graham
35338f28a3
[releng] Cleanup code that has been misformatted and update to SDK 4.13
...
The check-code-cleanliness CI jobs have not been running recently,
so this commit is to the code up to those minor changes
Change-Id: I9fb4b0213dec558f58c5ca718b3d2685564ef456
2019-10-28 13:07:02 -04:00
Marco Stornelli
42daf203a6
Bug 552076 - Fix false positive virtual method with qualified name
...
Change-Id: Iaf82368fce793f9c23d6e8a13d88bf57282f9ae9
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-10-17 17:54:34 +02:00
Jonah Graham
7a2ff27b91
[releng] Update comparator repo to last release
...
Change-Id: I00901808f1eda041f070b2f3e1cda076987c69a5
2019-10-17 10:07:44 -04:00
Torbjörn Svensson
e6de0c9385
Bug 551817 - Add about.html to src.includes for plugins
...
Change-Id: Id6e1a3c4aa94bf242efd62a28f5ca9de7d64f699
Signed-off-by: Torbjörn Svensson <azoff@svenskalinuxforeningen.se>
2019-10-17 10:07:18 -04:00
Marco Stornelli
fa012eb7d4
Bug 545704 - Added checker for float comparison
...
Change-Id: Id5529b9bd5ee38bac5f5b7e8adab741f0bce3f8e
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-10-17 00:58:22 -04:00
Jonah Graham
2f5f4d50a2
[releng] Bump to CDT version 9.10.0
...
Change-Id: I027e7e5542fda3e599ee476814593fc4b464adca
2019-10-16 10:55:28 -04:00
Marco Stornelli
f8316e315b
Bug 545977 - Added checker for variable initialization
...
Checker checks for multiple declarations on one line and
static variables defined in header files.
Change-Id: Ibc9670ee129e9bdd3ea58ac5409493fd99c4a234
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-10-13 08:29:11 +02:00
Marco Stornelli
6504d1a917
Bug 546173 - Add a check for returning of local variable addresses
...
Change-Id: Ief17af55c20b6e075381fa22a9208b7dfa67ec0b
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-10-12 09:11:24 +02:00
Alexander Kurtakov
d0d6f57a50
Move away of deprecated imageDescriptorFromPlugin.
...
Change-Id: I855682065fe6b40deeedc6cd7b5cb419848caac0
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-11 08:57:51 +03:00
Alexander Kurtakov
5224c92b67
Generify Class.
...
Change-Id: I065b4f7c1559a141ebf2e0c82e896557a7cfc05f
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-10-11 00:10:57 +03:00
Marco Stornelli
a159173a51
Bug 545954 - Added checker for functions/methods blacklist
...
Change-Id: I69d32f166e09ec38e4bf3dd9eaca2643c2e2d01e
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-09-23 01:10:46 -04:00
Marco Stornelli
39be625d8e
Bug 549466 - Quick fix with the same resolution
...
We have the "universal resolution" in an ArrayList and they are used as
single instances. So what can happen here is that we add the same
universal resolution instance multiple times for several markers.
However this approach can't work because a "marker resolution" is
designed to fix a single problem. Indeed the last marker analyzed
override the previous one in the single "universal resolution" instance,
so what we have is N proposals pointing to the same resolution where the
problem description is just the latest one. To solve the problem we
instantiate the universal resolution multiple times.
Change-Id: I072ca0b4dabff9781d6230a218eeb7dd388c648d
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-09-22 07:14:09 -04:00
Alexander Kurtakov
1e42e5f0e1
Convert new Runnable to lambda.
...
Change-Id: I8b827013a29802a3f3ae6400ddce8d8753eb6399
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-12 07:11:40 -04:00
Alexander Kurtakov
51da3eb3a6
Remove redundant superinterfaces.
...
Change-Id: I0de3509b02a8ef6853f0053c9ee6edd304a05a86
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-10 10:28:51 -04:00
Alexander Kurtakov
c673caf92e
Remove unneeded suppress warnings.
...
Change-Id: I6b552fd94ced0cd8c0d489386d4b594ae7df8fdf
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-09 05:03:08 -04:00
Marco Stornelli
4c0e7d9f68
Bug 545959 - Added checker for assignment operator
...
Change-Id: Ib48742cbc04679ab9e48349f4d68aea5657d38c9
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-07-23 00:47:39 -04:00
Marco Stornelli
74ab567eeb
Bug 548141 - Fix description of Codan project options
...
Description was a bit misleading.
Change-Id: I8001a638468a21e5b8ae8b19070d757f28dd79df
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-06-26 00:49:20 -04:00
Jonah Graham
6b435e1faf
Bug 547763 - Bump patch version for previous change
...
Fixup for commit 141142dcab
Change-Id: I7be9eb1021eb611c7103aff7ea85fcdc3f5f1a87
2019-06-24 12:49:32 -04:00
Nathan Ridge
141142dcab
Bug 547763 - Consistently handle IArrayType.getSize() returning a null IValue
...
Change-Id: I0246f1af5f3ed16f6ab03ff30dd9a0b27ee37df6
2019-06-21 14:44:18 -04:00
Jonah Graham
f3e8387a8e
[releng] Bump version to 9.9.0
...
Change-Id: I6641e51a8bfdb44fa5c646d97debf2bf814c107a
2019-06-11 12:33:48 -04:00
Jonah Graham
a9e84e4fb7
[releng] bump version numbers according to version number guidelines
...
See https://wiki.eclipse.org/CDT/policy#Version_Numbering
Change-Id: I54004437fa7a52b7c2b341fa9cb2d0683daf8962
2019-05-31 12:44:42 -04:00
Marco Stornelli
90358f5374
Bug 355174 - Improved tests and code for quickfix
...
Change-Id: I032040e6c4d3c9342ebdbf72b3ba75114810a31f
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-30 17:41:05 +02:00
Marco Stornelli
1c147d87ce
Bug 545699 - Added quickfix for C style cast
...
Change-Id: Icc1152c013363c5c1b8c2606e3ad0ceb2aa18aa5
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-30 01:09:45 -04:00
Marco Stornelli
3890eec7b7
Bug 355174 - Added quickfix for miss cases/default
...
Change-Id: I4c815bd55e55d81456efa796453dd2f69a7c876a
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-28 19:48:59 +02:00
Marco Stornelli
1204bf21b1
Bug 545956 - Added checker for virtual methods in ctor/dtor
...
Change-Id: I63b8a40447e9a5b6080e046030677a13607c4ea3
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-26 20:26:16 +02:00
Marco Stornelli
1065ee7688
Bug 355174 - Added cheker for missing case in a switch
...
Change-Id: I1ba1193186e275bed450eb7447eefd90dc09ebec
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-26 13:54:27 -04:00
Marco Stornelli
a1be8d5681
Bug 547179 - Fix reset suppression comment on multi selection
...
Change-Id: I501a5f3ad5064ca8a8f7588c264fffffb256c4a8
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-18 11:23:33 +02:00
Marco Stornelli
6452688c18
Bug 468742 - Fix false positive no-virtual destructor
...
Change-Id: Id8d2efaf3f7a5ca74d160e4a726c08a71c6d7067
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-18 02:13:30 -04:00
Marco Stornelli
ec6f9d204d
Bug 320786 - Fix false negative assignment in condition
...
Fix bug with expression list
Change-Id: I25b226ec7fd1edcfc40fe2ebcadbd3bdb2a6a5dd
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-18 02:10:33 -04:00
Marco Stornelli
f90cd7214d
Bug 545702 - Added new checker to verify copyright information
...
Change-Id: I57cad8565ce3c752a41f89473a95d5427d10cc8b
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-16 00:52:48 -04:00