Skip to content

Commit ea9df16

Browse files
Cleanup of Clang-Tidy warnings in Applewin
1 parent b3771f8 commit ea9df16

File tree

4 files changed

+103
-75
lines changed

4 files changed

+103
-75
lines changed

.clang-tidy

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
Checks: 'clang-diagnostic-*,clang-analyzer-*,bugprone-bool-pointer-implicit-conversion,readability-implicit-bool-conversion,readability-implicit-bool-cast,readability-simplify-boolean-expr,modernize-use-bool-literals'
3+
WarningsAsErrors: ''
4+
HeaderFilterRegex: ''
5+
AnalyzeTemporaryDtors: false
6+
CheckOptions:
7+
- key: cert-dcl16-c.NewSuffixes
8+
value: 'L;LL;LU;LLU'
9+
- key: cert-oop54-cpp.WarnOnlyIfThisHasSuspiciousField
10+
value: '0'
11+
- key: cppcoreguidelines-explicit-virtual-functions.IgnoreDestructors
12+
value: '1'
13+
- key: cppcoreguidelines-non-private-member-variables-in-classes.IgnoreClassesWithAllMemberVariablesBeingPublic
14+
value: '1'
15+
- key: google-readability-braces-around-statements.ShortStatementLines
16+
value: '1'
17+
- key: google-readability-function-size.StatementThreshold
18+
value: '800'
19+
- key: google-readability-namespace-comments.ShortNamespaceLines
20+
value: '10'
21+
- key: google-readability-namespace-comments.SpacesBeforeComments
22+
value: '2'
23+
- key: modernize-loop-convert.MaxCopySize
24+
value: '16'
25+
- key: modernize-loop-convert.MinConfidence
26+
value: reasonable
27+
- key: modernize-loop-convert.NamingStyle
28+
value: CamelCase
29+
- key: modernize-pass-by-value.IncludeStyle
30+
value: llvm
31+
- key: modernize-replace-auto-ptr.IncludeStyle
32+
value: llvm
33+
- key: modernize-use-nullptr.NullMacros
34+
value: 'NULL'
35+
...
36+

INSTALL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#### Debian / Ubuntu
77

88
```bash
9-
sudo apt-get install git libzip-dev libsdl1.2-dev libsdl-image1.2-dev libcurl4-openssl-dev zlib1g-dev imagemagick
9+
sudo apt-get install git libzip-dev libsdl1.2-dev libsdl-image1.2-dev libcurl4-openssl-dev zlib1g-dev libtime-parsedate-perl imagemagick
1010
```
1111

1212
#### Fedora / RHEL / CentOS

inc/AppleWin.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88

99
#define FTP_SEPARATOR TEXT('/')
1010

11-
// let it be our second version!
12-
#define LINAPPLE_VERSION 2
13-
1411
#include <curl/curl.h>
1512

1613
extern char *g_pAppTitle;

0 commit comments

Comments
 (0)