1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-11 02:05:39 +02:00
Commit graph

26 commits

Author SHA1 Message Date
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
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
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
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
Jonah Graham
ff75ae80fa Bug 540373: Cleanup: Remove trailing whitespace in properties files
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/MessagesForDebugVM.properties
# 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-23 07:52:26 +00:00
Jonah Graham
f70a8b35c1 Bug 540371: Update to EPLv2 using releng/scripts/change_to_eplv2.sh
Change-Id: Ifbb1d5af2a00bd5634dea200320e8c4303ffca6c
2018-11-22 20:31:51 +00:00
Hansruedi Patzen
a4dcbbaf15 Bug 527553: Detect invalid decltype(auto) with a type specifier
The evaluated type of 'decltype(auto)' in combination with const and/or
volatile will be a ProblemType since this is not valid code. The patch
also contains a checker to give the user a visual feedback.

Note: A proposed quick-fix has been removed after a short discussion.

Change-Id: I8760ed0ac28e28529ab30516accac9c0413c87d9
Signed-off-by: Hansruedi Patzen <hansruedi.patzen@hsr.ch>
2017-11-30 14:56:02 -05: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
a631e47e43 Externalized Strings. 2012-02-23 12:26:48 -08:00
Sergey Prigogin
c0b9f79b30 Bug 356037 - "No break at the end of case" warning for a case statement
produced by macro expansion.
2011-08-28 19:31:15 -07:00
Anton Gorenkov
3b6f6642b8 Bug 339795 - [checker] Checker that finds class members that are not
initialized in constructor
2011-07-06 02:34:49 -04:00
Sergey Prigogin
ffc95c0d8d Bug 315528 - Non-virtual destructor diagnostics doesn't take superclass into account. Patch by Patrick Hofer. 2011-05-25 06:06:05 +00:00
Andrew Gvozdev
f1daf6235a bug 343429: [checker] Checker to pinpoint unused static functions in a file 2011-04-29 03:00:09 +00:00
Sergey Prigogin
a7adfb502f Bug 326269 - Checker for instantiation of an abstract class. Patch by Anton Gerenkov. 2011-04-12 23:19:00 +00:00
Alena Laskavaia
1e1fdab079 Bug 320187 - A codan checker for detecting format string vulnerabilities 2011-02-08 02:51:59 +00:00
Andrew Gvozdev
dba2ed2036 typo fixed 2011-01-31 20:37:25 +00:00
Alena Laskavaia
3baf46e820 updated text for problem binding errors 2011-01-18 03:33:15 +00:00
Alena Laskavaia
60100b4d38 Bug 331790 Externalize Problem Binding checker 2011-01-18 03:28:41 +00:00
Alena Laskavaia
db436ae417 Bug 333813 - fixed fp, default settings and description 2011-01-18 02:55:37 +00:00
Alena Laskavaia
83ea511e24 Bug 329497 - checker for no break at the end of case 2010-12-01 02:36:00 +00:00
Alena Laskavaia
ea00500725 Bug 322119 - [checker] Suspicious semicolon (i.e. ";" after "if") 2010-10-18 01:18:49 +00:00
Alena Laskavaia
cefc281f9f Bug 321471 Return statement style patch from Marc-Andre Laperle 2010-09-20 01:17:25 +00:00
Alena Laskavaia
3a67847b2b Bug 314576: added assignment to itself checker, contribution from Severin Gehwolf 2010-07-29 12:00:38 +00:00
Alena Laskavaia
7823edaff4 Bug 317067: typo 2010-06-19 17:37:54 +00:00
Vivian Kong
912f531ec4 Bug 315439 Fix up copyright 2010-06-03 17:01:53 +00:00
Alena Laskavaia
d91b53a16b Externalized strings in manifest 2010-05-31 01:42:48 +00:00