File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
delphi-frontend/src/main/java/org/sonar/plugins/communitydelphi/api/directive Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -11,12 +11,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
1212- Exclude types annotated with attributes in ` UnusedType ` .
1313
14+ ### Deprecated
15+
16+ - ** API:** ` SwitchDirective.SwitchKind.TYPEADDRESS ` enum member, use ` TYPEDADDRESS ` instead.
17+
1418### Fixed
1519
1620- Exceptions from empty structures (e.g., ` if ` ) in ` LoopExecutingAtMostOnce ` and ` RedundantJump ` .
1721- False positives from case statements in ` LoopExecutingAtMostOnce ` .
1822- False positives from nested finally-except blocks in ` RedundantJump ` .
1923- False positives around wrapped type declarations in ` VisibilityKeywordIndentation ` .
24+ - Several compiler directives were not being recognized:
25+ - ` TYPEDADDRESS `
2026
2127## [ 1.14.1] - 2025-03-05
2228
Original file line number Diff line number Diff line change @@ -55,7 +55,12 @@ enum SwitchKind {
5555 STRONGLINKTYPES ("stronglinktypes" ),
5656 DEFINITIONINFO ("definitioninfo" ),
5757 REFERENCEINFO ("referenceinfo" , 'y' ),
58- TYPEADDRESS ("typeaddress" , 't' ),
58+ /**
59+ * @deprecated Use {@link SwitchKind#TYPEDADDRESS} instead.
60+ */
61+ @ Deprecated (forRemoval = true )
62+ TYPEADDRESS (null , null ),
63+ TYPEDADDRESS ("typedaddress" , 't' ),
5964 VARSTRINGCHECKS ("varstringchecks" , 'v' ),
6065 WARNINGS ("warnings" ),
6166 WEAKPACKAGEUNIT ("weakpackageunit" ),
You can’t perform that action at this time.
0 commit comments