[PATCH] D57104: [AST] Pack GenericSelectionExpr

Stephen Kelly via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 23 10:22:48 PST 2019


steveire added a comment.

Splitting the introduction of and porting to `Create` would significantly reduce the number of files touched by the 'real' change in this commit, and therefore reduce noise in the commit (following the idea of "do one thing per commit" to make the code reviewable in the future).

However, if you're opposed to that, it's not a hard requirement.



================
Comment at: include/clang/AST/Expr.h:5048
+    // are the associated expressions.
+    return 1 + getNumAssocs();
+  }
----------------
Would it be correct to use `ASSOC_EXPR_START` here instead of the magic `1`?


Repository:
  rC Clang

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

https://reviews.llvm.org/D57104





More information about the cfe-commits mailing list