From bad7fb09b2d16e396365f25d9b4c43a57feced2d Mon Sep 17 00:00:00 2001 From: Kaelyn Uhrain Date: Mon, 15 Jul 2013 19:54:54 +0000 Subject: Move the "->" to "." fixit from r186128 into a separate note since recovery is not attempted with the fixit. Also move the associated test case from FixIt/fixit.cpp to SemaCXX/member-expr.cpp since the fixit is no longer automatically applied. llvm-svn: 186342 --- clang/test/FixIt/fixit.cpp | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'clang/test/FixIt/fixit.cpp') diff --git a/clang/test/FixIt/fixit.cpp b/clang/test/FixIt/fixit.cpp index 400c227128a..3bd5b57a4ea 100644 --- a/clang/test/FixIt/fixit.cpp +++ b/clang/test/FixIt/fixit.cpp @@ -313,18 +313,6 @@ namespace PR5066 { X x; // expected-error {{type-id cannot have a name}} } -namespace PR15045 { - class Cl0 { - public: - int a; - }; - - int f() { - Cl0 c; - return c->a; // expected-error {{member reference type 'PR15045::Cl0' is not a pointer; maybe you meant to use '.'?}} - } -} - namespace PR5898 { class A { public: -- cgit v1.2.3