[PATCH] D57106: [AST] Introduce GenericSelectionExpr::Association
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 28 05:40:25 PST 2019
aaron.ballman added inline comments.
================
Comment at: include/clang/AST/Expr.h:5122
+ AssociationIteratorTy() = default;
+ AssociationTy<Const> operator*() const {
+ return AssociationTy<Const>(cast<Expr>(*E), *TSI,
----------------
riccibruno wrote:
> aaron.ballman wrote:
> > Can this continue to return `reference` instead of the concrete type? (Same in the cast expression.)
> Not literally `reference` since the base is dependent, but `typename BaseTy::reference` should work. Is that what you mean ?
Yes, that's what I meant, sorry. :-)
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57106/new/
https://reviews.llvm.org/D57106
More information about the cfe-commits
mailing list