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

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 20 16:50:43 PDT 2020


rjmccall added a comment.

Let's make this patch be purely a representation change.  I wouldn't expect *any* test changes from that; if there are, we should understand why.  You can then add the stuff about tracking whether there's a pragma in a separate patch.



================
Comment at: clang/include/clang/AST/StmtVisitor.h:92
+      case BO_XorAssign:
+        DISPATCH(BinXorAssign, BinaryOperator);
       case BO_Comma:     DISPATCH(BinComma,     BinaryOperator);
----------------
Let's stick with the existing formatting for consistency.  It's just vertically aligning the DISPATCH and class-name tokens to emphasize the common pattern.


================
Comment at: clang/include/clang/Serialization/ASTBitCodes.h:1560
-      /// A CompoundAssignOperator record.
-      EXPR_COMPOUND_ASSIGN_OPERATOR,
-
----------------
I think the intent is that we don't change constant values in this file.  You can leave this in place with a comment saying it's defunct, though.


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