Skip to main content
path: root/codan
AgeCommit message (Collapse)AuthorFilesLines
2019-08-09Remove unneeded suppress warnings.Alexander Kurtakov1-1/+0
Change-Id: I6b552fd94ced0cd8c0d489386d4b594ae7df8fdf Signed-off-by: Alexander Kurtakov <>
2019-07-23Bug 545959 - Added checker for assignment operatorMarco Stornelli5-0/+407
Change-Id: Ib48742cbc04679ab9e48349f4d68aea5657d38c9 Signed-off-by: Marco Stornelli <>
2019-06-26Bug 548141 - Fix description of Codan project optionsMarco Stornelli2-3/+3
Description was a bit misleading. Change-Id: I8001a638468a21e5b8ae8b19070d757f28dd79df Signed-off-by: Marco Stornelli <>
2019-06-24Bug 547763 - Bump patch version for previous changeJonah Graham1-1/+1
Fixup for commit 141142dcabbdd373169c1ea1735caf81f0c98b65 Change-Id: I7be9eb1021eb611c7103aff7ea85fcdc3f5f1a87
2019-06-21Bug 547763 - Consistently handle IArrayType.getSize() returning a null IValueNathan Ridge1-3/+10
Change-Id: I0246f1af5f3ed16f6ab03ff30dd9a0b27ee37df6
2019-06-11[releng] Bump version to 9.9.0Jonah Graham1-1/+1
Change-Id: I6641e51a8bfdb44fa5c646d97debf2bf814c107a
2019-05-31[releng] bump version numbers according to version number guidelinesJonah Graham1-1/+1
See Change-Id: I54004437fa7a52b7c2b341fa9cb2d0683daf8962
2019-05-30Bug 355174 - Improved tests and code for quickfixMarco Stornelli6-24/+118
Change-Id: I032040e6c4d3c9342ebdbf72b3ba75114810a31f Signed-off-by: Marco Stornelli <>
2019-05-30Bug 545699 - Added quickfix for C style castMarco Stornelli10-0/+307
Change-Id: Icc1152c013363c5c1b8c2606e3ad0ceb2aa18aa5 Signed-off-by: Marco Stornelli <>
2019-05-28Bug 355174 - Added quickfix for miss cases/defaultMarco Stornelli11-3/+396
Change-Id: I4c815bd55e55d81456efa796453dd2f69a7c876a Signed-off-by: Marco Stornelli <>
2019-05-26Bug 545956 - Added checker for virtual methods in ctor/dtorMarco Stornelli5-0/+477
Change-Id: I63b8a40447e9a5b6080e046030677a13607c4ea3 Signed-off-by: Marco Stornelli <>
2019-05-26Bug 355174 - Added cheker for missing case in a switchMarco Stornelli7-2/+358
Change-Id: I1ba1193186e275bed450eb7447eefd90dc09ebec Signed-off-by: Marco Stornelli <>
2019-05-18Bug 547179 - Fix reset suppression comment on multi selectionMarco Stornelli4-7/+17
Change-Id: I501a5f3ad5064ca8a8f7588c264fffffb256c4a8 Signed-off-by: Marco Stornelli <>
2019-05-18Bug 468742 - Fix false positive no-virtual destructorMarco Stornelli2-0/+39
Change-Id: Id8d2efaf3f7a5ca74d160e4a726c08a71c6d7067 Signed-off-by: Marco Stornelli <>
2019-05-18Bug 320786 - Fix false negative assignment in conditionMarco Stornelli2-0/+55
Fix bug with expression list Change-Id: I25b226ec7fd1edcfc40fe2ebcadbd3bdb2a6a5dd Signed-off-by: Marco Stornelli <>
2019-05-16Bug 545702 - Added new checker to verify copyright informationMarco Stornelli7-0/+291
Change-Id: I57cad8565ce3c752a41f89473a95d5427d10cc8b Signed-off-by: Marco Stornelli <>
2019-05-12Bug 461435 - Added options to format pointers in methodsMarco Stornelli2-3/+3
Rules used: 1) Default is right alignment to be compliant with built-in formatter rules; 2) Pointer with declarator without name will be always left alignment unless there's a nested declarator; 3) Return value of methods/functions is always left alignment; 4) If left alignment is selected, if space after comma is selected too for a declaration list, space is always forced after the comma. Change-Id: I82d5ad130e665e5357644cc59655a558f3fb732f Signed-off-by: Marco Stornelli <>
2019-05-12Bug 458850 - Fix false positive for deferred classesMarco Stornelli3-7/+29
Change-Id: I46335a94d69ae8d4e5ae1c68857344d1dc513328 Signed-off-by: Marco Stornelli <>
2019-05-08Bug 468749 - Fix false negative no virtual destructorMarco Stornelli2-4/+15
The checkers simply skipped nested classes. Change-Id: If464b229e586267d845768f9d96d3223328a8298 Signed-off-by: Marco Stornelli <>
2019-05-08Bug 545952 - Added checker to check for goto usageMarco Stornelli5-0/+114
Change-Id: I5f7f157c5c208e686627bb90b001879953d83e70 Signed-off-by: Marco Stornelli <>
2019-04-21Bug 492878 - Fix no-return in function with gotoMarco Stornelli2-1/+15
Change-Id: I39f2605aa2e5b697015a2dfdb795f163e76095cf Signed-off-by: Marco Stornelli <>
2019-04-15Bug 545699 - Add test to suite.Doug Schaefer1-0/+2
Change-Id: Id8542251403e6e2cc3931500b7f15a036b17a239
2019-04-15Bug 545699 - Added checker for C-style casts in C++Marco Stornelli4-0/+112
Change-Id: I38076599b354608a4b806f7b1d2ca1f6acc50a44 Signed-off-by: Marco Stornelli <>
2019-04-07Bug 546179 - Fix lack of warning for field referencesMarco Stornelli2-0/+20
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 <>
2019-04-04[releng] Fix baseline repo locationWilliam Riley1-1/+1
Change-Id: I21a46592111e60ce4425d1cb80377ab3c2511fad
2019-03-21Bug 545562 - Fix return checker check for template functionsMarco Stornelli1-0/+11
Change-Id: Ie5e3d4560cb3784f6c8393290d64794db56294d7 Signed-off-by: Marco Stornelli <>
2019-03-21Bug 519105 - Return checker for functions with noreturnMarco Stornelli3-1/+30
Added check in control flow graph to check if a function has noreturn attribute. Change-Id: Ieaa5984a337493e3aac12c0f6fbeeb91a754358b Signed-off-by: Marco Stornelli <>
2019-03-04Bug 544980: Added a checker for using directive in header fileMarco Stornelli6-2/+169
Change-Id: Ic77fd2f7504e7a6cc4e15a2fdeb507724db9e74f Signed-off-by: Marco Stornelli <>
2019-03-01[releng] Bump version to 9.8.0Jonah Graham1-1/+1
Change-Id: I3861d4c5d0eecaf9dd370f269a655e666b60561a
2019-02-19Bug 509751 - Process function template with non-dependent return type in ↵Bassem Girgis3-13/+48
ReturnChecker Change-Id: I8274affff8152dba35233a06cd8cdaef39cf00bb Signed-off-by: Bassem Girgis <>
2019-02-19Bug 544539: Codan requires universal resolution from pluginsFelix Morgner2-4/+4
Change-Id: Ia7da2450d90e644d270928dacb86a2c470982c10 Task-Url: Signed-off-by: Felix Morgner <>
2018-12-10[releng] Bump version to 9.7.0Jonah Graham1-1/+1
Change-Id: Icaa0b6acf73e3a19e0d102fa8ae784e631d8743a
2018-11-24Bug 540373: Update the compiler warnings/ignoresJonah Graham12-36/+36
The previous alignment of all the warnings/ignores led to too many warnings that weren't there before. This commit relaxes them a bit. The core/org.eclipse.cdt.core/.settings/org.eclipse.jdt.core.prefs is still the "master" copy, with releng/scripts/ containing the exceptions that apply to test plug-ins. Change-Id: Ibd4e31ade0b42b31e7cbe5a94f06c6fc15183a56
2018-11-23Bug 540373: Format some Java files that were missedJonah Graham1-2/+2
Some files which has other cleanups applied meant they needed to be reformatted again. e.g. the removing of type parameters shortened some lines of code that meant the wrapping changed. Change-Id: I68ca09567b9530cc2a085c33923642b6de2ec77b
2018-11-23Bug 540373: Cleanup: Remove trailing whitespace in properties filesJonah Graham5-10/+10
Command used: # Remove space at eol in comments find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^(#.*)[ \t]+$/\1/' {} + # Remove space at eol in blank lines find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/^[ \t]+$//' {} + # Replace escaped spaces at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\ $/\1\\u0020/' {} + # Replace unescaped spaces at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\]) $/\1\\u0020/' {} + # Replace escaped tabs at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\\\t$/\1\\u0009/' {} + # Replace unescaped tabs at eol with unicode find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/([^\\])\t$/\1\\u0009/' {} + # Stage all changes git add -A . # trim any remaining whitespace and then identify and fixup # manually # Only dsf/org.eclipse.cdt.dsf.ui/src/org/eclipse/cdt/dsf/debug/ui/viewmodel/ # needed this due to missing newline at end of the file find . ! -path "./.git/*" -type f -name *.properties -exec sed -i -E 's/[ \t]+$//' {} + Change-Id: I858f16891fe001f4f7e62d5a4f904146e891cd39
2018-11-22Bug 540373: Remove '(non-Javadoc)' commentsJonah Graham30-371/+0
These were inserted in the past automatically by Eclipse but newer tooling makes them redundant. These were removed by doing a global find/replace on *.java files using the following regular expression: \t/\*\n\t \* \(non-Javadoc\)[^/]*/\n Change-Id: I59d3248020f10934fde1dda5b5a31e20bb188e19
2018-11-22Bug 540373: Cleanup: Remove redundant semicolonsJonah Graham1-1/+1
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Remove redundant semicolons and completing the wizard Change-Id: I3d3175cfdfadec4f815c551d486e42c9f57b80ce
2018-11-22Bug 540373: Cleanup: Remove redundant type argumentsJonah Graham34-64/+64
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Remove redundant type arguments and completing the wizard Change-Id: Iaecc7010f097b4b1fabd29ccaa34ccb23a716fbf
2018-11-22Bug 540373: Cleanup: Remove unnecessary castsJonah Graham1-1/+1
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Remove unnecessary casts and completing the wizard Change-Id: I287d4066b12fc19d7f73a016e11c9405abb4ceb9
2018-11-22Bug 540373: Cleanup: Add missing annotationsJonah Graham7-0/+11
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Add missing Annotations - and selecting all three types: - @Override - @Override on interface methods - @Deprecated and completing the wizard Change-Id: I5d367dacb04327107f25e147edc08efc4eb1c2fe
2018-11-22Bug 540373: Cleanup: Organize ImportsJonah Graham8-28/+30
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Organize Imports and completing the wizard Change-Id: Ia7b305a4c967d0e6f4e8fb8c1041e7028b24006c
2018-11-22Bug 540373: Cleanup: Format & Remove trailing whitespaceJonah Graham184-1119/+1201
This was done by selecting all projects in Eclipse then Source -> Clean Up... -> choosing: - Format source code - Remove trailing white spaces on all lines and completing the wizard Change-Id: I63685372c6bcc67719bcf145123bcb72e5b00394
2018-11-22Bug 540373: Standard .settings auto appliedJonah Graham50-337/+4950
The releng/scripts/ was run to copy standard settings to all other projects. Change-Id: I4436c947d7f0142f56b709e661379c3eb54f666b
2018-11-22Bug 540373: Remove invalid javadoc API tagsJonah Graham1-1/+0
Change-Id: I240bbe08666b89861fe132c6384174be7883c022
2018-11-22Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.shJonah Graham304-1082/+2084
Change-Id: Ifbb1d5af2a00bd5634dea200320e8c4303ffca6c
2018-11-22Bug 540371: normalize files before applying EPLv2Jonah Graham1-3/+3
Change-Id: I8bfd427bba1df18579d6d5e58ad1e5d704485050
2018-11-20Bug 540373: Normalize newlines with .gitattributesJonah Graham6-548/+548
There is also a new script to verify completeness of .gitattributes: releng/scripts/ Change-Id: I2ce270852ab54b66b6c474a6ec94203fe5bba78b
2018-10-30Bug 540610 - Add Automatic-Module-Name headerKarsten Thoms10-0/+10
Change-Id: Ia990b24469751050dd9ec8f9b5550804816308b3 Signed-off-by: Karsten Thoms <>
2018-10-29Bug 540112 - Perform C++14 return type deduction in ReturnCheckerNathan Ridge3-70/+36
As part of this change, ReturnChecker was refactored to compute the return type as an IType, which allowed for removal of some logic in ReturnChecker which duplicated CPPVisitor's type resolution work. Change-Id: I9cd8512164d650a5ee11d2e58fdae477e3c428a2
2018-10-23Bug 540367 - Increment version numbersWilliam Riley6-6/+6
Change-Id: I4a355170a7075f0a98ba3c1a5131c235c89b07d2

Back to the top