[cfe-commits] r167931 - in /cfe/trunk: include/clang/AST/ASTContext.h lib/AST/ASTContext.cpp lib/CodeGen/CGBlocks.cpp lib/CodeGen/CGBlocks.h lib/CodeGen/CGDebugInfo.cpp lib/CodeGen/CGObjCGNU.cpp lib/CodeGen/CGObjCMac.cpp lib/CodeGen/CGObjCRuntime.h test/CodeGenObjC/arc-blocks.m test/CodeGenObjC/block-byref-variable-layout.m test/CodeGenObjC/blocks.m test/CodeGenObjC/mrr-captured-block-var-inlined-layout.m

Eric Christopher echristo at gmail.com
Wed Nov 14 09:21:47 PST 2012


Modified: cfe/trunk/lib/CodeGen/CGDebugInfo.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGDebugInfo.cpp?rev=167931&r1=167930&r2=167931&view=diff
>
> ==============================================================================
> --- cfe/trunk/lib/CodeGen/CGDebugInfo.cpp (original)
> +++ cfe/trunk/lib/CodeGen/CGDebugInfo.cpp Wed Nov 14 11:15:51 2012
> @@ -2256,6 +2256,12 @@
>      EltTys.push_back(CreateMemberType(Unit, FType, "__destroy_helper",
>                                        &FieldOffset));
>    }
> +  bool HasByrefExtendedLayout;
> +  Qualifiers::ObjCLifetime Lifetime;
> +  if (CGM.getContext().getByrefLifetime(Type, Lifetime,
> HasByrefExtendedLayout) &&
> +      HasByrefExtendedLayout)
> +    EltTys.push_back(CreateMemberType(Unit, FType,
> "__byref_variable_layout",
> +                                      &FieldOffset));
>
>
>

80-column I think.

-eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121114/f6b0669f/attachment.html>


More information about the cfe-commits mailing list