Am 27.05.20 um 11:25 schrieb Walter Bright:
> On 5/24/2020 3:40 AM, Stefan Koch wrote:
>> The distinction is that you can find a slapped on trusted with a grep.
> 
> It's just as easy to use grep to *not* find @trusted.

But that's not enough. You need a regexp that searches for extern
(C(++)) declarations that do not have any of @safe, @trusted, @system.
The attributes can also be either before the return type + name +
parameters or after it. They can also be mixed with any other
attributes. Sure, you can probably write a regex that matches all of
this but it is a _lot_ more complicated than simply searching for @trusted.
            • R... Arine via Digitalmars-d-announce
            • R... ag0aep6g via Digitalmars-d-announce
  • Re: DIP1028 - Rationale... Walter Bright via Digitalmars-d-announce
    • Re: DIP1028 - Rati... Timon Gehr via Digitalmars-d-announce
      • Re: DIP1028 - ... Paolo Invernizzi via Digitalmars-d-announce
      • Re: DIP1028 - ... Walter Bright via Digitalmars-d-announce
        • Re: DIP102... Panke via Digitalmars-d-announce
          • Re: DI... Walter Bright via Digitalmars-d-announce
            • R... Stefan Koch via Digitalmars-d-announce
            • R... Walter Bright via Digitalmars-d-announce
            • R... Johannes Loher via Digitalmars-d-announce
            • R... rikki cattermole via Digitalmars-d-announce
            • R... Joseph Rushton Wakeling via Digitalmars-d-announce
        • Re: DIP102... Johannes Loher via Digitalmars-d-announce
          • Re: DI... aliak via Digitalmars-d-announce
            • R... Johannes Loher via Digitalmars-d-announce
            • R... aliak via Digitalmars-d-announce
            • R... Johannes Loher via Digitalmars-d-announce
          • Re: DI... Steven Schveighoffer via Digitalmars-d-announce
          • Re: DI... Juraj Mojzis via Digitalmars-d-announce
        • Re: DIP102... ag0aep6g via Digitalmars-d-announce

Reply via email to