[Bugfix]Base: fix implementation of isFile() so it is safe to use #362
CI_master.yml
on: push
Prepare
/
Prepare
4s
Ubuntu_20-04
/
Build
1h 26m
Ubuntu_22-04
/
Build
1h 21m
Windows
/
Build
2h 46m
Lint
/
Lint
3m 30s
WrapUp
/
WrapUp
8s
Annotations
10 warnings
Lint / Lint:
src/Base/FileInfo.cpp#L96
declaration uses identifier '_FileName', which is a reserved identifier [bugprone-reserved-identifier]
|
Lint / Lint:
src/Base/FileInfo.cpp#L101
declaration uses identifier '_FileName', which is a reserved identifier [bugprone-reserved-identifier]
|
Lint / Lint:
src/Base/FileInfo.cpp#L110
the 'empty' method should be used to check for emptiness instead of comparing to an empty object [readability-container-size-empty]
|
Lint / Lint
note: method 'basic_string<char>'::empty() defined here
|
Lint / Lint:
src/Base/FileInfo.cpp#L120
function is not thread safe [concurrency-mt-unsafe]
|
Lint / Lint:
src/Base/FileInfo.cpp#L121
do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic]
|
Lint / Lint:
src/Base/FileInfo.cpp#L124
statement should be inside braces [readability-braces-around-statements]
|
Lint / Lint:
src/Base/FileInfo.cpp#L126
statement should be inside braces [readability-braces-around-statements]
|
Lint / Lint:
src/Base/FileInfo.cpp#L138
2 adjacent parameters of 'getTempFileName' of similar type ('const char *') are easily swapped by mistake [bugprone-easily-swappable-parameters]
|
Lint / Lint
note: the first parameter in the range is 'FileName'
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Lint-5637108317-Logs
Expired
|
41.7 KB |
|
Prepare-5637108317-Logs
Expired
|
14.2 KB |
|
Ubuntu_20-04-5637108317-Logs
Expired
|
1.33 MB |
|
Ubuntu_22-04-5637108317-Logs
Expired
|
1.32 MB |
|
Windows-5637108317-Logs
Expired
|
13.7 MB |
|