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
@@ -22,13 +22,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2222
- False positives from nested finally-except blocks in `RedundantJump`.
2323
- False positives around wrapped type declarations in `VisibilityKeywordIndentation`.
2424
- Several compiler directives were not being recognized:
25+
- `E`
26+
- `F`
27+
- `K`
28+
- `N`
29+
- `S`
2530
- `ALLOWBIND`
2631
- `ALLOWISOLATION`
2732
- `HIGHENTROPYVA`
2833
- `HIGHCHARUNICODE`
2934
- `LARGEADDRESSAWARE`
3035
- `MAXPAGESIZE`
3136
- `NXCOMPAT`
37+
- `STACKCHECKS`
38+
- `STRINGCHECKS`
3239
- `TSAWARE`
3340
- `TYPEDADDRESS`
3441

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)