[all-commits] [llvm/llvm-project] 4a1006: Fix a failing assertion when emitting a note diagn...
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Thu Jul 20 09:52:35 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4a100690461022625dc5d2a21e2e028a926149d9
https://github.com/llvm/llvm-project/commit/4a100690461022625dc5d2a21e2e028a926149d9
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2023-07-20 (Thu, 20 Jul 2023)
Changed paths:
M clang/lib/Sema/SemaDecl.cpp
M clang/test/SemaCXX/builtins.cpp
Log Message:
-----------
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
More information about the All-commits
mailing list