[PATCH] D47953: [builtin] Add bitfield support for __builtin_dump_struct
David Blaikie via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 25 16:57:18 PDT 2018
dblaikie added a comment.
This doesn't seem to build for me - so hard to debug/probe it:
llvm/src/tools/clang/lib/CodeGen/CGBuiltin.cpp:1264:65: error: no viable conversion from 'clang::QualType' to 'llvm::Type *'
CGF.CGM.getDataLayout().getTypeSizeInBits(CanonicalType),
^~~~~~~~~~~~~
llvm/src/include/llvm/IR/DataLayout.h:560:53: note: passing argument to parameter 'Ty' here
inline uint64_t DataLayout::getTypeSizeInBits(Type *Ty) const {
^
1 error generated.
Repository:
rC Clang
https://reviews.llvm.org/D47953
More information about the cfe-commits
mailing list