diff options
author | Kaelyn Uhrain <rikka@google.com> | 2013-07-15 19:54:54 +0000 |
---|---|---|
committer | Kaelyn Uhrain <rikka@google.com> | 2013-07-15 19:54:54 +0000 |
commit | bad7fb09b2d16e396365f25d9b4c43a57feced2d (patch) | |
tree | 937e002e2573dbfe6f432bae9211d8c9fbd2b381 /clang/test/FixIt/fixit.cpp | |
parent | dae7b4e4d1d23d588438e8c5eb3f7d28b90f2d2a (diff) | |
download | bcm5719-llvm-bad7fb09b2d16e396365f25d9b4c43a57feced2d.tar.gz bcm5719-llvm-bad7fb09b2d16e396365f25d9b4c43a57feced2d.zip |
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
Diffstat (limited to 'clang/test/FixIt/fixit.cpp')
-rw-r--r-- | clang/test/FixIt/fixit.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
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<int *p> 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: |