rjmccall added a comment.

Thanks, LGTM with a small tweak.



================
Comment at: lib/Sema/TreeTransform.h:8928
+        FieldDecl *Field = dyn_cast_or_null<FieldDecl>(
+            getDerived().TransformDecl(D.getFieldLoc(), D.getField()));
+        if (Field != D.getField())
----------------
I'm pretty sure that TransformDecl promises to preserve the decl kind, i.e. 
this can be a cast_or_null.


Repository:
  rL LLVM

https://reviews.llvm.org/D25777



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to