aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/TestModuleFileExtension.cpp
diff options
context:
space:
mode:
authorjonasyhwang <jonasyhwang@tencent.com>2022-04-29 12:58:53 +0800
committerjonasyhwang <jonasyhwang@tencent.com>2022-04-29 12:58:53 +0800
commiteaca933c59fd61b3df4697b5fae0eeec67acfaeb (patch)
treec31d89acceb82ef9fcd911b38a15c2615353f3bf /clang/lib/Frontend/TestModuleFileExtension.cpp
parentc62b014db97953bee25d17b46730f05eea6a3430 (diff)
downloadllvm-eaca933c59fd61b3df4697b5fae0eeec67acfaeb.zip
llvm-eaca933c59fd61b3df4697b5fae0eeec67acfaeb.tar.gz
llvm-eaca933c59fd61b3df4697b5fae0eeec67acfaeb.tar.bz2
[Clang][CodeGen]Fix __builtin_dump_struct missing record type field name
Thanks for @rsmith to point this. I'm sorry for introducing this bug. See @rsmith 's comment in https://reviews.llvm.org/D122248 Eg:(By @rsmith ) https://godbolt.org/z/o7vcbWaEf I have added a test case struct: ``` struct U19A { int a; }; struct U19B { struct U19A a; }; struct U19B a = { .a.a = 2022 }; ``` Dump result: ``` struct U19B { struct U19A a = { int a = 2022 } } ``` Reviewed By: erichkeane Differential Revision: https://reviews.llvm.org/D122920
Diffstat (limited to 'clang/lib/Frontend/TestModuleFileExtension.cpp')
0 files changed, 0 insertions, 0 deletions