Fix a failing assertion when emitting a note diagnostic
When noting the previous declaration for a builtin, the diagnostic expects two arguments, but none were being passed. We now pass arguments for the note (and the arguments are unused for several of the possible notes we emit, but that is something the diagnostic engine is fine with). Fixes https://github.com/llvm/llvm-project/issues/63967
Loading
Please sign in to comment