rjmccall added inline comments.
================ Comment at: clang/lib/Sema/TreeTransform.h:4268 + Quals.removeVolatile(); + } ---------------- `restrict` is unique in being able to be applied to reference types. You should just rebuild `Quals` from scratch, preserving only `restrict`. Repository: rC Clang https://reviews.llvm.org/D52271 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits