diff options
author | Christopher Lamb <christopher.lamb@gmail.com> | 2007-12-01 09:08:41 +0000 |
---|---|---|
committer | Christopher Lamb <christopher.lamb@gmail.com> | 2007-12-01 09:08:41 +0000 |
commit | 0f8db7021ef6a9f16f2571ecf68cc3f3eda4eae5 (patch) | |
tree | ec3a6507dd69c178498a3c727285c4ebe813e05c /Driver/RewriteTest.cpp | |
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
Diffstat (limited to 'Driver/RewriteTest.cpp')
0 files changed, 0 insertions, 0 deletions