[clang] [clang] Catch missing format attributes (PR #70024)

Budimir Aranđelović via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 12 04:58:28 PDT 2024


budimirarandjelovicsyrmia wrote:

Problem is in function f41 where diagnosing depends on architecture and operating system.
```
void f41(char *out, ... /* args */) // #f41
{
    va_list args;
    char *ch;
    vscanf("%s", ch);
    vprintf(out, args);
}
```

As this is unusual situation, I suppose to remove this function from test.

https://github.com/llvm/llvm-project/pull/70024


More information about the cfe-commits mailing list