ilya-biryukov added a comment. I also propose to try correcting in both directions, i.e. here's how completion completion could work with this feature:
struct X { int foobarbaz; }; void test() { X var; X* ptr; std::unique_ptr<X> uptr; var->foobar // replace with var.foobarbaz ptr.foobar // replace with ptr->foobar uptr->get // replace with uptr.get uptr.foobar // replace with uptr->foobarbaz } https://reviews.llvm.org/D41537 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits