forked from OSchip/llvm-project
parent
e9766d559b
commit
277aa36d68
|
@ -216,6 +216,7 @@ void CodeGenFunction::EmitStaticBlockVarDecl(const VarDecl &D) {
|
||||||
const llvm::Type *CodeGenFunction::BuildByRefType(const ValueDecl *D) {
|
const llvm::Type *CodeGenFunction::BuildByRefType(const ValueDecl *D) {
|
||||||
QualType Ty = D->getType();
|
QualType Ty = D->getType();
|
||||||
uint64_t Align = getContext().getDeclAlignInBytes(D);
|
uint64_t Align = getContext().getDeclAlignInBytes(D);
|
||||||
|
(void) Align;
|
||||||
|
|
||||||
const llvm::Type *LTy = ConvertType(Ty);
|
const llvm::Type *LTy = ConvertType(Ty);
|
||||||
bool needsCopyDispose = BlockRequiresCopying(Ty);
|
bool needsCopyDispose = BlockRequiresCopying(Ty);
|
||||||
|
|
Loading…
Reference in New Issue