aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorTim Northover <t.p.northover@gmail.com>2020-01-07 10:03:31 +0000
committerTim Northover <t.p.northover@gmail.com>2020-01-07 15:11:43 +0000
commite130eef58814d12b0490033fbedcf75db8a4f148 (patch)
tree956859221165f7ccd74e8283f560a866905a4fcc /clang/lib/Frontend/CompilerInvocation.cpp
parentf26ed6e47cb8b080c236d11c4942a12265180084 (diff)
downloadllvm-e130eef58814d12b0490033fbedcf75db8a4f148.zip
llvm-e130eef58814d12b0490033fbedcf75db8a4f148.tar.gz
llvm-e130eef58814d12b0490033fbedcf75db8a4f148.tar.bz2
OpaquePtr: print byval types containing anonymous types correctly.
Attribute::getAsString doesn't have enough information to print anonymous Module-level types correctly, so they come back as "%type 0xabcd". This results in broken IR when printing as text. Instead, print type-attributes (currently just byval) using the TypePrinting infrastructure available in AsmWriter. This only applies to function argument attributes.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions