Marco Stornelli
b390885211
Bug 580062 - Self assignment check fix
...
Fix for false positive error in assignment operator checker
when a noexcept specifier is used.
Change-Id: If82788cda4a37af1c628a937a6960f59de6b0f5b
2022-06-03 09:30:53 -04:00
Jonah Graham
148ae40d0f
[releng] Make CDT Clean-up profile match Editor on save actions
...
The CDT Cleanup profile had a bunch of extra cleanups applied to it, this
prevents running the CDT cleanup profile manually to simulate running the
save actions on all Java files
Change-Id: Iad491e1258a4ba90d81d1457ea0f6779e3663e38
2022-04-19 20:13:15 -04:00
Jonah Graham
7400e22b1f
[releng] Update all legal files with update_legal_files.sh
...
The about.html was changed as per
https://gitlab.eclipse.org/eclipsefdn/it/websites/eclipse.org/-/issues/90
Change-Id: Ied879279460a8fc610630fc26794ab3df9eae39f
2022-04-13 13:42:35 -04:00
Jonah Graham
1f0451c163
[releng] Prepare for 10.7.0 with version bumps
...
All the about.html files are updated, so every bundle that hasn't
already had a bump in 10.7 needs one now
Change-Id: I6143d2fbe77a58a3a6d2f4a226d96087117f9ac1
2022-04-13 13:15:06 -04:00
Jonah Graham
c40ed25daa
[releng] Update API Filters
...
Remove old filters that are no longer relevant and mark some API warnings
as ignored.
Change-Id: Id687740b4261f9441f10804941a1d2aa1a3746c8
2020-10-12 10:14:26 -04:00
Jonah Graham
0cb1f7482a
Bug 566511: [releng] Add missing UTF-8 encoding for all CDT projects
...
Includes updates to code cleanliness script
Change-Id: Ic495124285e3e002993f34dc12be5ad7337fe13b
2020-08-30 20:02:41 -04:00
Jonah Graham
fd9382d8a9
Bug 562494: Update BREE to Java 11
...
Change-Id: I0c91aafc0cb1b179936acbd4c9df2d961899e3fa
2020-08-24 17:50:56 -04:00
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
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
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
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
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
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
51da3eb3a6
Remove redundant superinterfaces.
...
Change-Id: I0de3509b02a8ef6853f0053c9ee6edd304a05a86
Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
2019-08-10 10:28:51 -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
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
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
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
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
Marco Stornelli
695de049db
Bug 458850 - Fix false positive for deferred classes
...
Change-Id: I46335a94d69ae8d4e5ae1c68857344d1dc513328
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-12 09:59:22 +02:00
Marco Stornelli
db0cc1f9a4
Bug 468749 - Fix false negative no virtual destructor
...
The checkers simply skipped nested classes.
Change-Id: If464b229e586267d845768f9d96d3223328a8298
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-08 02:23:47 -04:00
Marco Stornelli
838a12d8f4
Bug 545952 - Added checker to check for goto usage
...
Change-Id: I5f7f157c5c208e686627bb90b001879953d83e70
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-05-08 00:50:59 -04:00
Marco Stornelli
3fcbb5c7b5
Bug 492878 - Fix no-return in function with goto
...
Change-Id: I39f2605aa2e5b697015a2dfdb795f163e76095cf
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-04-21 13:46:24 -04:00
Marco Stornelli
60a4cccbe3
Bug 545699 - Added checker for C-style casts in C++
...
Change-Id: I38076599b354608a4b806f7b1d2ca1f6acc50a44
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-04-15 10:28:39 -04:00
Marco Stornelli
77592ee87a
Bug 546179 - Fix lack of warning for field references
...
With just a reference of the field even for another instance of the
same class the warning wasn't provided to the user.
Change-Id: Icb6ca008c2e61b8a762ecf31e4514cb0368c477d
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-04-07 10:26:15 +02:00
William Riley
174aaa05a3
[releng] Fix baseline repo location
...
Change-Id: I21a46592111e60ce4425d1cb80377ab3c2511fad
2019-04-04 16:08:23 -05:00
Marco Stornelli
97e18b4b31
Bug 544980: Added a checker for using directive in header file
...
Change-Id: Ic77fd2f7504e7a6cc4e15a2fdeb507724db9e74f
Signed-off-by: Marco Stornelli <marco.stornelli@gmail.com>
2019-03-04 09:36:50 -05:00
Bassem Girgis
d8c2330efe
Bug 509751 - Process function template with non-dependent return type in ReturnChecker
...
Change-Id: I8274affff8152dba35233a06cd8cdaef39cf00bb
Signed-off-by: Bassem Girgis <brgirgis@gmail.com>
2019-02-19 18:15:19 -05:00