Home | History | Annotate | Download | only in SemaCXX

Lines Matching defs:std

1 // RUN: %clang_cc1 -fsyntax-only -Wself-move -std=c++11 -verify %s
3 // definitions for std::move
4 namespace std {
16 x = std::move(x); // expected-warning{{explicitly moving}}
17 (x) = std::move(x); // expected-warning{{explicitly moving}}
19 using std::move;
25 global = std::move(global); // expected-warning{{explicitly moving}}
26 (global) = std::move(global); // expected-warning{{explicitly moving}}
28 using std::move;
35 x = std::move(x); // expected-warning{{explicitly moving}}
36 x = std::move(other.x);
37 other.x = std::move(x);
38 other.x = std::move(other.x); // expected-warning{{explicitly moving}}
47 a = std::move(a); // expected-warning{{explicitly moving}}
50 b = std::move(b); // expected-warning{{explicitly moving}}
51 b.a = std::move(b.a); // expected-warning{{explicitly moving}}
54 c = std::move(c); // expected-warning{{explicitly moving}}