/external/clang/test/CodeGenCXX/ |
union-dtor.cpp | 11 struct Bar { 12 Bar(); 13 ~Bar(); 20 Bar bar; member in union:FooBar 28 Bar bar; member in union:Variant::__anon6576 35 // The ctor and dtor of Foo<> and Bar should not be mentioned in the resulting
|
/external/clang/test/Index/ |
print-type.cpp | 10 struct Bar { 11 Bar(outer::Foo<bool>* foo) { }; 33 // CHECK: StructDecl=Bar:10:8 (Definition) [type=outer::inner::Bar] [typekind=Record] [isPOD=0] 34 // CHECK: CXXConstructor=Bar:11:3 (Definition) [type=void (outer::Foo<bool> *)] [typekind=FunctionProto] [canonicaltype=void (outer::Foo<bool> *)] [canonicaltypekind=FunctionProto] [resulttype=void] [resulttypekind=Void] [args= [outer::Foo<bool> *] [Pointer]] [isPOD=0]
|
comment-cplus-decls.cpp | 119 class Bar {
|
/external/clang/test/SemaCXX/ |
unused.cpp | 9 char bar; member in class:PR4103::APSInt 58 struct Bar {
|
pseudo-destructors.cpp | 5 typedef Foo Bar; // expected-note{{type 'Bar' (aka 'Foo') is declared here}} 28 a->~Bar(); // expected-error{{destructor type 'Bar' (aka 'Foo') in object destruction expression does not match the type 'A' of the object being destroyed}} 30 f->~Bar(); 32 i->~Bar(); // expected-error{{does not match}} 34 g().~Bar(); // expected-error{{non-scalar}} 36 f->::~Bar(); 39 f->::~Bar(17, 42); // expected-error{{cannot have any arguments}}
|
using-decl-templates.cpp | 57 template <class T> struct Bar : public Foo<T>, Baz { 64 template int Bar<int>::foo();
|
copy-initialization.cpp | 22 void bar(); // expected-note{{declared here}} 26 void test(const foo *P) { P->bar(); } // expected-error{{'bar' not viable: 'this' argument has type 'const foo', but function is not marked const}} 34 struct Bar { 41 f(Bar()); // expected-error{{no viable constructor copying parameter of type 'const PR6757::Foo'}}
|
function-redecl.cpp | 38 void Bar(); // expected-note {{'Bar' declared here}} 40 friend void bar(); // expected-error {{no matching function 'bar' found in local scope; did you mean 'Bar'}} 64 class Bar { 70 void Bar::f(Foo::Inner foo) { // expected-error {{out-of-line definition of 'f' does not match any declaration in 'Bar'}} 99 // Ensure we correct the redecl of Foo::isGood to Bar::Foo::isGood and not 102 // since it is a closer match than Bar::Foo::beEvil and neither have a body [all...] |
using-decl-1.cpp | 86 namespace ns1 { struct Bar : ns0::Foo {}; } 89 namespace ns2 { struct Baz : ns1::Bar {}; }
|
warn-global-constructors.cpp | 91 struct Bar { 92 ~Bar(); 94 void bar() { function in namespace:pr8095 95 static Bar b;
|
warn-missing-noreturn.cpp | 111 struct Bar { 121 Bar b;
|
warn-shadow.cpp | 51 int Bar; 55 double Bar = 12; // Don't warn.
|
friend.cpp | 39 class Bar {
|
warn-enum-compare.cpp | 4 enum Bar { BarD, BarE, BarF }; 23 Bar getBar(); 27 Bar y = BarD; 43 while (AnonBB == y); // expected-warning {{comparison of constant 'AnonBB' (45) with expression of type 'Bar' is always false}} 84 while (x == y); // expected-warning {{comparison of two values with different enumeration types ('Foo' and 'Bar')}} 85 while (x != y); // expected-warning {{comparison of two values with different enumeration types ('Foo' and 'Bar')}} 86 while (x >= y); // expected-warning {{comparison of two values with different enumeration types ('Foo' and 'Bar')}} 87 while (x <= y); // expected-warning {{comparison of two values with different enumeration types ('Foo' and 'Bar')}} 88 while (x > y); // expected-warning {{comparison of two values with different enumeration types ('Foo' and 'Bar')}} 89 while (x < y); // expected-warning {{comparison of two values with different enumeration types ('Foo' and 'Bar')}} [all...] |
/external/clang/test/SemaTemplate/ |
instantiate-deeply.cpp | 30 struct Bar { 34 Bar u;
|
overload-uneval.cpp | 12 struct Bar 20 typedef Bar<T> B;
|
instantiate-local-class.cpp | 19 void Bar() { 32 x.Bar<int>();
|
temp_explicit.cpp | 120 struct Bar 126 struct Foo<int>::Bar<void>
|
/external/clang/test/Analysis/inlining/ |
path-notes.cpp | 21 class Bar { 23 ~Bar() { 31 Bar b; 34 } // expected-note {{Calling '~Bar'}} 342 // CHECK-NEXT: <string>Calling '~Bar'</string> 344 // CHECK-NEXT: <string>Calling '~Bar'</string> 530 // CHECK-NEXT: <string>Entered call from '~Bar'</string> 532 // CHECK-NEXT: <string>Entered call from '~Bar'</string> [all...] |
/external/clang/test/Parser/ |
cxx-using-declaration.cpp | 51 class Bar {}; 54 void Bar(int); // expected-note{{class 'Bar' is hidden by a non-type declaration of 'Bar' here}} 55 using foo::Bar; 58 const Bar *x; // expected-error{{must use 'class' tag to refer to type 'Bar' in this scope}}
|
/external/protobuf/python/google/protobuf/internal/ |
service_reflection_test.py | 80 self.assertEqual('Method Bar not implemented.', 87 def Bar(self, rpc_controller, request, done):
|
/external/android-mock/tests/com/google/android/testing/mocking/ |
ConstructorCreationTests.java | 36 public static class Bar { 38 Bar(double value) { this.value = value; } 51 public TestClass(Foo foo, Bar bar) { 52 this(foo.get(), bar.get()); 90 doesNotHaveConstructor(new Bar(2)); 91 hasConstructor(new Foo(1), new Bar(2)); 116 new Object[]{new Foo(1), new Bar(2)}, 117 new Type[]{Foo.class, Bar.class});
|
/external/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/ |
p1.cpp | 84 class Bar { 91 void X2<T>::Bar<F>::Func() {}
|
/ndk/tests/device/test-gabi++/jni/ |
test_gabixx_rtti.cpp | 31 class Bar: public Foo 36 std::printf("in Bar!\n"); 56 Foo* foo = new Bar(); 57 Bar* bar; local 94 bar = dynamic_cast<Bar*>(foo); 95 if (bar != NULL) { 96 printf("OK: 'foo' is pointing to a Bar class instance.\n"); 98 fprintf(stderr, "KO: Could not dynamically cast 'foo' to a 'Bar*'\n") [all...] |
/ndk/tests/device/test-stlport-rtti/jni/ |
test_stlport_rtti.cpp | 31 class Bar: public Foo 36 std::printf("in Bar!\n"); 56 Foo* foo = new Bar(); 57 Bar* bar; local 94 bar = dynamic_cast<Bar*>(foo); 95 if (bar != NULL) { 96 printf("OK: 'foo' is pointing to a Bar class instance.\n"); 98 fprintf(stderr, "KO: Could not dynamically cast 'foo' to a 'Bar*'\n") [all...] |