Skip to content

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
- False positives from nested finally-except blocks in `RedundantJump`.
1515
- False positives around wrapped type declarations in `VisibilityKeywordIndentation`.
1616
- Several compiler directives were not being recognized:
17+
- `E`
18+
- `F`
19+
- `K`
20+
- `N`
21+
- `S`
1722
- `ALLOWBIND`
1823
- `ALLOWISOLATION`
1924
- `HIGHENTROPYVA`
2025
- `HIGHCHARUNICODE`
2126
- `LARGEADDRESSAWARE`
2227
- `MAXPAGESIZE`
2328
- `NXCOMPAT`
29+
- `STACKCHECKS`
30+
- `STRINGCHECKS`
2431
- `TSAWARE`
2532
- `TYPEDADDRESS`
2633

delphi-frontend/src/main/java/org/sonar/plugins/communitydelphi/api/directive/SwitchDirective.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,11 @@ enum SwitchKind {
3131
DENYPACKAGEUNIT("denypackageunit"),
3232
DESIGNONLY("designonly"),
3333
OBJEXPORTALL("objexportall"),
34+
EMULATECOPROCESSOR(null, 'e'),
3435
EXTENDEDSYNTAX("extendedsyntax", 'x'),
3536
EXTENDEDCOMPATIBILITY("extendedcompatibility"),
3637
EXCESSPRECISION("excessprecision"),
38+
FAR(null, 'f'),
3739
HIGHENTROPYVA("highentropyva"),
3840
HIGHCHARUNICODE("highcharunicode"),
3941
HINTS("hints"),
@@ -45,12 +47,16 @@ enum SwitchKind {
4547
LOCALSYMBOLS("localsymbols", 'l'),
4648
LONGSTRINGS("longstrings", 'h'),
4749
METHODINFO("methodinfo"),
50+
NUMERICPROCESSING(null, 'n'),
4851
NXCOMPAT("nxcompat"),
4952
OLDTYPELAYOUT("oldtypelayout"),
5053
OPENSTRINGS("openstrings", 'p'),
5154
OPTIMIZATION("optimization", 'o'),
5255
OVERFLOWCHECKS("overflowchecks", 'q'),
5356
SAFEDIVIDE("safedivide", 'u'),
57+
SMARTCALLBACKS(null, 'k'),
58+
STACKCHECKS("stackchecks", 's'),
59+
STRINGCHECKS("stringchecks"),
5460
POINTERMATH("pointermath"),
5561
RANGECHECKS("rangechecks", 'r'),
5662
REALCOMPATIBILITY("realcompatibility"),

0 commit comments

Comments
 (0)