summaryrefslogtreecommitdiffstats
path: root/clang/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorChristopher Lamb <christopher.lamb@gmail.com>2007-12-01 09:08:41 +0000
committerChristopher Lamb <christopher.lamb@gmail.com>2007-12-01 09:08:41 +0000
commitb0e6094a221faa1ab13a8030421c670fbfa8d6f1 (patch)
tree295479166c0264a8b7ac18d313a8ed782edca6a0 /clang/CodeGen/CodeGenModule.cpp
parent34f92ace1ffbf2e28f93e3d8a075371da7feafd9 (diff)
downloadbcm5719-llvm-b0e6094a221faa1ab13a8030421c670fbfa8d6f1.tar.gz
bcm5719-llvm-b0e6094a221faa1ab13a8030421c670fbfa8d6f1.zip
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." llvm-svn: 44489
Diffstat (limited to 'clang/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud