HomeSort by relevance Sort by last modified time
    Searched refs:HasDtor (Results 1 - 4 of 4) sorted by null

  /external/clang/test/SemaCXX/
compound-literal.cpp 28 struct HasDtor {
30 ~HasDtor();
45 (void)(HasDtor){1, 2};
46 // CHECK: CXXBindTemporaryExpr {{.*}} 'struct brace_initializers::HasDtor'
47 // CHECK-NEXT: CompoundLiteralExpr {{.*}} 'struct brace_initializers::HasDtor'
48 // CHECK-NEXT: InitListExpr {{.*}} 'struct brace_initializers::HasDtor'
declspec-thread.cpp 13 struct HasDtor { ~HasDtor(); int x; };
14 __declspec(thread) HasDtor g; // expected-error {{non-trivial destruction}} expected-note {{thread_local}}
literal-type.cpp 38 struct HasDtor { ~HasDtor(); };
43 struct HasNonLiteralMember { HasDtor x; };
49 static_assert(!__is_literal(HasDtor), "fail");
  /external/clang/test/Analysis/
temporaries.cpp 90 struct HasDtor {
92 ~HasDtor();
102 clang_analyzer_eval(((HasDtor){1, 42}).y == 42); // expected-warning{{TRUE}}

Completed in 822 milliseconds