1.15.0
·
100 commits
to master
since this release
Added
ParsingError
analysis rule, which flags files where parsing failures occurred.- Support for the
WEAK_NATIVEINT
symbol, which is defined from Delphi 12 onward. - Support for undocumented intrinsics usable within
varargs
routines:VarArgStart
VarArgGetValue
VarArgCopy
VarArgEnd
Changed
- Exclude types annotated with attributes in
UnusedType
. - Improve reporting of parsing failures occurring within include files.
- Improve reporting of parsing failures occurring within compiler directives.
Deprecated
- API:
SwitchDirective.SwitchKind.TYPEADDRESS
enum member, useTYPEDADDRESS
instead.
Fixed
- Exceptions from empty structures (e.g.,
if
) inLoopExecutingAtMostOnce
andRedundantJump
. - False positives from case statements in
LoopExecutingAtMostOnce
. - False positives from nested finally-except blocks in
RedundantJump
. - False positives around wrapped type declarations in
VisibilityKeywordIndentation
. - False negatives around inline
var
andconst
inPlatformDependentTruncation
. - Trailing whitespace within comments not recognized in
TrailingWhitespace
. - Overload resolution failures on the variant overload of the
Copy
intrinsic. - Several compiler directives were not being recognized:
E
F
K
N
S
ALLOWBIND
ALLOWISOLATION
HIGHENTROPYVA
HIGHCHARUNICODE
LARGEADDRESSAWARE
MAXPAGESIZE
NXCOMPAT
SONAME
SOPREFIX
SOSUFFIX
SOVERSION
STACKCHECKS
STRINGCHECKS
TSAWARE
TYPEDADDRESS