Sorry, I wasn't really paying attention to this patch before.

I've been looking through the review comments and I can't seem to find the
motivation for why you're writing a new layout builder from scratch (and
duplicating a bunch of code) instead of taking advantage of the existing
IsMsStruct flag in RecordLayoutBuilder.cpp.  Is the difference
between IsMsStruct and what you're implementing really that substantial?

I saw earlier in the review comments you were alluding to CodeGen crashes;
that shouldn't be an issue as of r185018.

Please put the SemaDecl.cpp change into a separate patch.

-Eli


On Wed, Jun 26, 2013 at 2:23 PM, Warren Hunt <[email protected]> wrote:

>   Addressing 2nd round of feedback, enabling a Sema error, clang format
> and some minor fixes.
>
> Hi rnk, rsmith,
>
> http://llvm-reviews.chandlerc.com/D1026
>
> CHANGE SINCE LAST DIFF
>   http://llvm-reviews.chandlerc.com/D1026?vs=2536&id=2578#toc
>
> Files:
>   include/clang/AST/ASTContext.h
>   include/clang/Sema/Sema.h
>   lib/AST/CMakeLists.txt
>   lib/AST/MicrosoftRecordLayoutBuilder.cpp
>   lib/AST/RecordLayoutBuilder.cpp
>   lib/Sema/SemaDecl.cpp
>   test/Sema/ms_bitfield_layout.c
>
> _______________________________________________
> cfe-commits mailing list
> [email protected]
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to