[all-commits] [llvm/llvm-project] 2cbf51: [Clang] Improve designated inits diagnostic location
Bill Wendling via All-commits
all-commits at lists.llvm.org
Fri Apr 7 11:37:43 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2cbf5127d58553fd6224a1ec809536bccc5b8510
https://github.com/llvm/llvm-project/commit/2cbf5127d58553fd6224a1ec809536bccc5b8510
Author: Bill Wendling <morbo at google.com>
Date: 2023-04-07 (Fri, 07 Apr 2023)
Changed paths:
M clang/lib/Sema/SemaInit.cpp
A clang/test/SemaCXX/cxx2b-designated-initializers.cpp
Log Message:
-----------
[Clang] Improve designated inits diagnostic location
A "null" designator won't have a valid location. Try to approximate this
location as best we can in that situation.
Closes 61118
Closes 46132
Reviewed By: shafik
Differential Revision: https://reviews.llvm.org/D147673
More information about the All-commits
mailing list