[PATCH] D76384: Move FPFeatures from BinaryOperator bitfields to Trailing storage

Melanie Blower via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 16 08:21:58 PDT 2020


mibintc added a comment.

In D76384#1986525 <https://reviews.llvm.org/D76384#1986525>, @mibintc wrote:

> @rjmccall Can you check the patch added last night here, commit 3ee1ec0b9dd6ee2350f39ae8a418bf3ce28d06cf <https://reviews.llvm.org/rG3ee1ec0b9dd6ee2350f39ae8a418bf3ce28d06cf>
>  Author: Benjamin Kramer <benny.kra at googlemail.com>
>  Date:   Thu Apr 16 11:45:02 2020 +0200
>
>   LangOptions cannot depend on ASTContext, make it not use ASTContext directly
>   
>   Fixes a layering violation introduced in 2ba4e3a4598b165245c581c506a813cd4a7dce33.
>    


I checked Benny's patch and it seems to have all the right semantics. The lit tests pass and the trailing storage is only created in the pragma case.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D76384/new/

https://reviews.llvm.org/D76384





More information about the cfe-commits mailing list