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

1 2 3 4 5 6 7 8 91011>>

  /external/clang/test/SemaCXX/
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}}
ambiguous-builtin-unary-operator.cpp 16 ++c; // expected-error {{use of overloaded operator '++' is ambiguous}}\
30 ++c; // expected-error {{use of overloaded operator '++' is ambiguous}} \
new-array-size-conv.cpp 24 (void)new int[ValueBoth()]; // expected-error{{ambiguous conversion of array size expression of type 'ValueBoth' to an integral or enumeration type}}
26 (void)new int[TwoValueInts()]; // expected-error{{ambiguous conversion of array size expression of type 'TwoValueInts' to an integral or enumeration type}}
dynamic-cast.cpp 59 // Ambiguous
60 (void)dynamic_cast<A*>((F*)0); // expected-error {{ambiguous conversion from derived class 'F' to base class 'A':\n struct F -> struct B -> struct A\n struct F -> struct E -> struct A}}
61 (void)dynamic_cast<A&>(*((F*)0)); // expected-error {{ambiguous conversion from derived class 'F' to base class 'A':\n struct F -> struct B -> struct A\n struct F -> struct E -> struct A}}
  /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/llvm/test/MC/X86/
x86_errors.s 4 // CHECK: error: ambiguous instructions require an explicit suffix (could be 'cmpb', 'cmpw', 'cmpl', or 'cmpq')
  /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/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 3 // Make sure that friend declarations don't introduce 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/CXX/basic/basic.lookup/basic.lookup.qual/namespace.qual/
p5.cpp 28 struct AB::x foo; // expected-error {{reference to 'x' is ambiguous}}
29 int i = AB::x; // expected-error {{reference to 'x' is ambiguous}}
  /external/clang/test/Sema/
overloadable-complex.c 34 char *cp = promote_or_convert(fc); // expected-error{{call to 'promote_or_convert' is ambiguous; candidates are:}}
35 int *ip2 = promote_or_convert(f); // expected-error{{call to 'promote_or_convert' is ambiguous; candidates are:}}
  /external/clang/test/CXX/basic/basic.lookup/basic.lookup.unqual/
p7.cpp 26 // Apparently the base-or-member lookup is actually ambiguous
  /external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.def/namespace.unnamed/
p1.cpp 20 i++; // expected-error {{reference to 'i' is ambiguous}}

Completed in 227 milliseconds

1 2 3 4 5 6 7 8 91011>>