aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/VirtualFileSystemTest.cpp
diff options
context:
space:
mode:
authorBill Wendling <5993918+bwendling@users.noreply.github.com>2024-04-19 12:48:33 -0700
committerGitHub <noreply@github.com>2024-04-19 19:48:33 +0000
commitc32712d1763d74329b42c1cd68a24d4c0075b596 (patch)
tree435c6a35d31188a64c28b76af5dad5ce457ed991 /llvm/unittests/Support/VirtualFileSystemTest.cpp
parentaa7c104124ac4a8da12fbd25c797bc8ab438c545 (diff)
downloadllvm-c32712d1763d74329b42c1cd68a24d4c0075b596.zip
llvm-c32712d1763d74329b42c1cd68a24d4c0075b596.tar.gz
llvm-c32712d1763d74329b42c1cd68a24d4c0075b596.tar.bz2
[Clang] Handle structs with inner structs and no fields (#89126)
A struct that declares an inner struct, but no fields, won't have a field count. So getting the offset of the inner struct fails. This happens in both C and C++: struct foo { struct bar { int Quantizermatrix[]; }; }; Here 'struct foo' has no fields. Closes: https://github.com/llvm/llvm-project/issues/88931
Diffstat (limited to 'llvm/unittests/Support/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions