manmanren added a comment.
It makes sense to rebuild the expression when a field designator stores a
FieldDecl.
Thanks for working on this!
Manman
================
Comment at: lib/Sema/TreeTransform.h:8926
D.getFieldLoc()));
+ if (D.getField())
+ ExprChanged = true;
----------------
Please add comment here on why we need to set ExprChanged to true.
Repository:
rL LLVM
https://reviews.llvm.org/D25777
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits