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

  /external/clang/test/SemaCXX/
compound-literal.cpp 25 struct HasCtor {
26 HasCtor(int x, int y);
53 (void)(HasCtor){1, 2};
54 // CHECK-CXX11-NOT: CXXBindTemporaryExpr {{.*}} 'struct brace_initializers::HasCtor'
55 // CHECK-CXX11: CompoundLiteralExpr {{.*}} 'struct brace_initializers::HasCtor'
56 // CHECK-CXX11-NEXT: CXXTemporaryObjectExpr {{.*}} 'struct brace_initializers::HasCtor'
  /external/clang/test/Analysis/
temporaries.cpp 84 struct HasCtor {
85 HasCtor(int x, int y) : x(x), y(y) {}
103 clang_analyzer_eval(((HasCtor){1, 42}).y == 42); // expected-warning{{TRUE}}

Completed in 160 milliseconds