HomeSort by relevance Sort by last modified time
    Searched refs:HasDtor (Results 1 - 3 of 3) 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'
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 88 struct HasDtor {
90 ~HasDtor();
100 clang_analyzer_eval(((HasDtor){1, 42}).y == 42); // expected-warning{{TRUE}}

Completed in 1177 milliseconds