[PATCH] D41537: Optionally add code completion results for arrow instead of dot

Ivan Donchevskii via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 15 03:29:54 PDT 2018


yvvan added a comment.

I will add more tests...



================
Comment at: test/SemaCXX/member-expr.cpp:193
+    Cl0* c;
+    return c.a;  // expected-error {{member reference type 'PR15045::Cl0 *' is a pointer; did you mean to use '->'?}}
+  }
----------------
ilya-biryukov wrote:
> Is this still needed after we removed the diagnostics code?
Yes, even if it does not fail it is not related to that change anymore


https://reviews.llvm.org/D41537





More information about the cfe-commits mailing list