HomeSort by relevance Sort by last modified time
    Searched full:ambiguous (Results 1 - 25 of 1010) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/SemaCXX/
cxx98-compat-flags.cpp 22 struct Ambiguous {
23 Ambiguous();
24 Ambiguous(const Ambiguous &, int = 0); // expected-note {{candidate}}
25 Ambiguous(const Ambiguous &, double = 0); // expected-note {{candidate}}
33 const Ambiguous &c = Ambiguous(); // expected-warning {{copying variable of type 'CopyCtorIssues::Ambiguous' when binding a reference to a temporary would find ambiguous constructors in C++98}
    [all...]
ref-init-ambiguous.cpp 17 const E2 &e2 = c; // expected-error {{reference initialization of type 'const E2 &' with initializer of type 'C' is ambiguous}}
23 foo(c); // expected-error {{reference initialization of type 'const E2 &' with initializer of type 'C' is ambiguous}}
25 return c; // expected-error {{reference initialization of type 'const E2 &' with initializer of type 'C' is ambiguous}}
ambig-user-defined-conversions.cpp 22 func(b1, f()); // expected-error {{call to 'func' is ambiguous}}
23 return f(); // expected-error {{conversion from 'test0::B' to 'const int' is ambiguous}}
30 func2(b1); // expected-error {{call to 'func2' is ambiguous}}
54 f1(b); // expected-error {{call to 'f1' is ambiguous}}
55 // ambiguous because b -> C via constructor and
66 bool f(D d) { return !d; } // expected-error{{ambiguous conversion from derived class 'rdar8876150::D' to base class 'rdar8876150::A':}}
member-name-lookup.cpp 3 int a; // expected-note 4{{member found by ambiguous name lookup}}
5 static int c; // expected-note 2{{member found by ambiguous name lookup}}
12 void f(float); // expected-note 2{{member found by ambiguous name lookup}}
19 int d; // expected-note 2{{member found by ambiguous name lookup}}
23 enum E3 { enumerator3 }; // expected-note 2{{member found by ambiguous name lookup}}
27 int c; // expected-note 2{{member found by ambiguous name lookup}}
28 int d; // expected-note 2{{member found by ambiguous name lookup}}
30 enum E3 { enumerator3_2 }; // expected-note 2{{member found by ambiguous name lookup}}
70 int d; // expected-note 2{{member found by ambiguous name lookup}}
74 enum E3 { enumerator3 }; // expected-note 2 {{member found by ambiguous name lookup}
    [all...]
derived-to-base-ambig.cpp 9 a = d; // expected-error{{ambiguous conversion from derived class 'D' to base class 'A':}} expected-error{{assigning to 'A *' from incompatible type 'D *'}}
23 o2 = f2; // expected-error{{ambiguous conversion from derived class 'F2' to base class 'Object2':}} expected-error{{assigning to 'Object2 *' from incompatible type 'F2 *'}}
26 // Test that ambiguous/inaccessibility checking does not trigger too
using-directive.cpp 40 (void) i; // expected-error{{reference to 'i' is ambiguous}}
41 f(); // expected-error{{call to 'f' is ambiguous}}
45 using namespace E; // expected-error{{reference to 'E' is ambiguous}}
57 struct K2 *k2; // expected-error{{reference to 'K2' is ambiguous}}
59 K2 *k3; // expected-error{{reference to 'K2' is ambiguous}}
80 return i; // expected-error{{reference to 'i' is ambiguous}}
102 (void)X(); // expected-error{{reference to 'X' is ambiguous}}
conversion-delete-expr.cpp 14 delete d; // expected-error {{ambiguous conversion of delete expression of type 'D' to a pointer}}
42 delete d; // expected-error {{ambiguous conversion of delete expression of type 'D2' to a pointer}}
59 delete d; // expected-error {{ambiguous conversion of delete expression of type 'D3' to a pointer}}
cxx0x-initializer-scalars.cpp 83 void ambiguous(int, double); // expected-note {{candidate}}
84 void ambiguous(double, int); // expected-note {{candidate}}
85 ambiguous({0}, {0}); // expected-error {{ambiguous}}
  /external/clang/test/CXX/class.derived/class.member.lookup/
p9.cpp 13 using ClsA::g; // expected-note{{member found by ambiguous name lookup}}
19 using ClsA::g; // expected-note{{member found by ambiguous name lookup}}
p6.cpp 11 int g(); // expected-note{{member found by ambiguous name lookup}}
12 int y; // expected-note{{member found by ambiguous name lookup}}
20 int g(); // expected-note{{member found by ambiguous name lookup}}
21 int y; // expected-note{{member found by ambiguous name lookup}}
  /external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/
p9.cpp 5 int i1 = f<1>(0); // expected-error{{ambiguous}}
6 int i2 = f<1000>(0); // expected-error{{ambiguous}}
  /external/clang/test/CXX/basic/basic.scope/basic.scope.hiding/
p2.cpp 21 X *x; // expected-error{{reference to 'X' is ambiguous}}
  /external/clang/test/SemaTemplate/
ambiguous-ovl-print.cpp 8 f(ip, i); // expected-error{{ambiguous}}
anonymous-union.cpp 13 m0 = 0; // expected-error{{ambiguous conversion}}
  /external/clang/test/CXX/conv/conv.mem/
p4.cpp 27 // Can't be ambiguous.
33 int (Derived::*d) = data_ptr; // expected-error {{ambiguous conversion from pointer to member of base class 'Base' to pointer to member of derived class 'test2::Derived':}}
34 int (Derived::*m)() = method_ptr; // expected-error {{ambiguous conversion from pointer to member of base class 'Base' to pointer to member of derived class 'test2::Derived':}}
52 int (Derived::*d) = data_ptr; // expected-error {{ambiguous conversion from pointer to member of base class 'Base' to pointer to member of derived class 'test4::Derived':}}
53 int (Derived::*m)() = method_ptr; // expected-error {{ambiguous conversion from pointer to member of base class 'Base' to pointer to member of derived class 'test4::Derived':}}
  /external/clang/test/CXX/expr/expr.const/
p5-0x.cpp 31 struct Ambiguous {
32 constexpr Ambiguous() {}
50 auto new4 = new int[1][ambig]; // expected-error {{ambiguous conversion}}
58 enum4 = ambig // expected-error {{ambiguous conversion}}
67 alignas(ambig) int alignas4; // expected-error {{ambiguous conversion}}
84 int bitfield4 : ambig; // expected-error {{ambiguous conversion}}
  /external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udir/
p1.cpp 35 return foo(); // expected-error {{call to 'foo' is ambiguous}}
64 return foo(); // expected-error {{call to 'foo' is ambiguous}}
126 return foo(); // expected-error {{call to 'foo' is ambiguous}}
  /external/clang/test/CXX/basic/basic.scope/basic.scope.pdecl/
p3.cpp 9 class C : C {}; // expected-error {{reference to 'C' is ambiguous}} \
  /external/clang/test/CXX/class/class.friend/
p1-ambiguous.cpp 4 // Make sure that friend declarations don't introduce ambiguous
  /external/clang/test/CXX/dcl.dcl/
p4-0x.cpp 19 static_assert(U(), ""); // expected-error {{ambiguous}}
  /external/clang/test/CXX/over/over.over/
p4.cpp 18 int (*fp0)(int) = f0; // expected-error{{address of overloaded function 'f0' is ambiguous}}
  /external/clang/test/SemaObjC/
duplicate-ivar-in-class-extension.m 30 return self->ivar; // would be ambiguous if the duplicate ivar were allowed
  /ndk/tests/device/test-stlport_shared-exception/jni/
catch6.cpp 6 // We cannot catch an ambiguous base class.
37 catch(A *p) { abort(); } // A is ambiguous
44 catch(A *p) { abort(); } // A is ambiguous
51 catch(A *p) { abort(); } // A is ambiguous
58 catch(A *p) { abort(); } // A is ambiguous
66 catch(A *p) { abort(); } // A is ambiguous
73 catch(A *p) { abort(); } // A is ambiguous
80 catch(A *p) { abort(); } // A is ambiguous
87 catch(A *p) { abort(); } // A is ambiguous
catch6p.cpp 6 // We cannot catch an ambiguous base class.
37 catch(A *p) { abort(); } // A is ambiguous
44 catch(A *p) { abort(); } // A is ambiguous
51 catch(A *p) { abort(); } // A is ambiguous
58 catch(A *p) { abort(); } // A is ambiguous
66 catch(A *p) { abort(); } // A is ambiguous
73 catch(A *p) { abort(); } // A is ambiguous
80 catch(A *p) { abort(); } // A is ambiguous
87 catch(A *p) { abort(); } // A is ambiguous
catch7.cpp 6 // We cannot catch an ambiguous base class.
51 catch(A *p) { abort(); } // A is ambiguous
58 catch(A *p) { abort(); } // A is ambiguous
65 catch(A *p) { abort(); } // A is ambiguous
72 catch(A *p) { abort(); } // A is ambiguous
79 catch(A *p) { abort(); } // A is ambiguous
87 catch(A *p) { abort(); } // A is ambiguous
94 catch(A *p) { abort(); } // A is ambiguous
101 catch(A *p) { abort(); } // A is ambiguous

Completed in 1136 milliseconds

1 2 3 4 5 6 7 8 91011>>