[all-commits] [llvm/llvm-project] f4c886: [clang] Properly print unnamed members in diagnostics
Mariya Podchishchaeva via All-commits
all-commits at lists.llvm.org
Thu Aug 24 07:38:25 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f4c886b6aaeac0a48f3bdeda3103887599373842
https://github.com/llvm/llvm-project/commit/f4c886b6aaeac0a48f3bdeda3103887599373842
Author: Podchishchaeva, Mariya <mariya.podchishchaeva at intel.com>
Date: 2023-08-24 (Thu, 24 Aug 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/Decl.h
M clang/lib/AST/Decl.cpp
M clang/lib/Sema/SemaInit.cpp
M clang/test/AST/ast-dump-APValue-anon-union.cpp
M clang/test/CXX/special/class.dtor/p5-0x.cpp
M clang/test/Sema/transparent-union.c
M clang/test/SemaCXX/cxx0x-nontrivial-union.cpp
M clang/test/SemaCXX/cxx2a-initializer-aggregates.cpp
M clang/test/SemaObjCXX/arc-0x.mm
Log Message:
-----------
[clang] Properly print unnamed members in diagnostics
Use member's type when printing.
This also fixes a bug in warning diagnostic for out of order
initialization with designated initializers so it points to a valid
source location when an anonymous member is being initialized.
Fixes https://github.com/llvm/llvm-project/issues/63759
Reviewed By: aaron.ballman, shafik
Differential Revision: https://reviews.llvm.org/D158526
More information about the All-commits
mailing list