Skip to content

1.15.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 03 Apr 03:00
· 13 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, use TYPEDADDRESS instead.

Fixed

  • Exceptions from empty structures (e.g., if) in LoopExecutingAtMostOnce and RedundantJump.
  • 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 and const in PlatformDependentTruncation.
  • 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