[clang] [clang-tools-extra] [clang] Extend diagnose_if to accept more detailed warning information (PR #70976)

Kazu Hirata via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 12 12:21:20 PDT 2024


kazutakahirata wrote:

The build bots seem to be complaining about the same spot:

```
flang/lib/Frontend/TextDiagnosticPrinter.cpp:42:29: error: call to non-static member function without an object argument
      clang::DiagnosticIDs::getWarningOptionForDiag(info.getID());
```

Maybe you need to update the call to `getWarningOptionForDiag`?


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


More information about the cfe-commits mailing list