www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - DMD CI Dscanner gives false positive for asm statement

reply Per =?UTF-8?B?Tm9yZGzDtnc=?= <per.nordlow gmail.com> writes:
At 
https://buildkite.com/dlang/dmd/builds/28891#01847622-70c7-45
5-b307-ab65a1d035ad dscanner gives a false negative inside the asm statement in
compiler/src/dmd/queryperf.d added at
https://github.com/dlang/dmd/pull/14635/files#diff-2e59fbdb3511b31cf82d44af0b71072b5db847db2f298
e1d5151a9bb0e7c691. How to alleviate?

I wanted to post this in DMD but I get the error

     SMTP error: Connection refused

so trying in General instead.
Nov 14 2022
parent reply user1234 <user1234 12.de> writes:
On Monday, 14 November 2022 at 12:56:52 UTC, Per Nordlöw wrote:
 At 
 https://buildkite.com/dlang/dmd/builds/28891#01847622-70c7-45
5-b307-ab65a1d035ad dscanner gives a false negative inside the asm statement in
compiler/src/dmd/queryperf.d added at
https://github.com/dlang/dmd/pull/14635/files#diff-2e59fbdb3511b31cf82d44af0b71072b5db847db2f298
e1d5151a9bb0e7c691. How to alleviate?

 I wanted to post this in DMD but I get the error

     SMTP error: Connection refused

 so trying in General instead.
I see, it's https://buildkite.com/dlang/dmd/builds/28891#01847622-70c7-4535-b307-ab65a1d035ad/251-1867. This requires a dscanner fix. In the meantime you can try to to deactivate the check. There should be a dscanner.ini somewhere where you can do that.
Nov 14 2022
parent reply Per =?UTF-8?B?Tm9yZGzDtnc=?= <per.nordlow gmail.com> writes:
On Monday, 14 November 2022 at 13:40:24 UTC, user1234 wrote:
 This requires a dscanner fix. In the meantime you can try to to 
 deactivate the check. There should be a dscanner.ini somewhere 
 where you can do that.
Shall I disable it completely or a specific option in dscanner.ini?
Nov 14 2022
parent Per =?UTF-8?B?Tm9yZGzDtnc=?= <per.nordlow gmail.com> writes:
On Monday, 14 November 2022 at 17:32:55 UTC, Per Nordlöw wrote:
 On Monday, 14 November 2022 at 13:40:24 UTC, user1234 wrote:
 This requires a dscanner fix. In the meantime you can try to 
 to deactivate the check. There should be a dscanner.ini 
 somewhere where you can do that.
Shall I disable it completely or a specific option in dscanner.ini?
I discovered how adjust the syntax to please dscanner. See https://github.com/dlang/dmd/pull/14635/commits/6f1b5ee7a1e95badfd79 f6c1f4935e004ea1c3a for details
Nov 14 2022