commit | 0f8db7021ef6a9f16f2571ecf68cc3f3eda4eae5 | [log] [tgz] |
---|---|---|
author | Christopher Lamb <christopher.lamb@gmail.com> | Sat Dec 01 09:08:41 2007 +0000 |
committer | Christopher Lamb <christopher.lamb@gmail.com> | Sat Dec 01 09:08:41 2007 +0000 |
tree | ec3a6507dd69c178498a3c727285c4ebe813e05c | |
parent | cd5af4b5863c63b62cde96ad6d52fb1eec0e26bb [diff] |
When generating the CodeGen type name of a struct, union, enum use the typedef name if a tag type name is not available for the type. This matches how llvm-gcc chooses CodeGen type names. This means that "typedef struct {...} foo" now results in a CodeGen name of "struct.foo" rather than "struct." git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44489 91177308-0d34-0410-b5e6-96231b3b80d8