Searched defs:Bar (Results 26 - 50 of 58) sorted by relevance

123

/external/clang/test/CXX/temp/temp.decls/temp.class/temp.mem.func/
H A Dp1.cpp84 class Bar { class in class:X2
91 void X2<T>::Bar<F>::Func() {}
/external/clang/test/SemaCXX/
H A Dcopy-initialization.cpp34 struct Bar { struct in namespace:PR6757
41 f(Bar()); // expected-error{{no viable constructor copying parameter of type 'const PR6757::Foo'}}
H A Dpseudo-destructors.cpp5 typedef Foo Bar; // expected-note{{type 'Bar' (aka 'Foo') is declared here}} typedef
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}}
H A Dusing-decl-1.cpp86 namespace ns1 { struct Bar : ns0::Foo {}; } struct in namespace:test1::ns1
89 namespace ns2 { struct Baz : ns1::Bar {}; }
H A Dwarn-global-constructors.cpp91 struct Bar { struct in namespace:pr8095
92 ~Bar();
95 static Bar b;
H A Dwarn-shadow.cpp51 int Bar; member in struct:rdar8900456::Foo
55 double Bar = 12; // Don't warn. local
H A Dfriend.cpp39 class Bar { class in namespace:test2
H A Dfunction-redecl.cpp38 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 { class
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.
108 namespace Bar { namespace in namespace:redecl_typo
110 bool isGood(); // expected-note {{'Bar
[all...]
H A Dwarn-enum-compare.cpp4 enum Bar { BarD, BarE, BarF }; enum
23 Bar getBar();
27 Bar y = BarD;
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')}}
91 while (FooB == y); // expected-warning {{comparison of two values with different enumeration types ('Foo' and 'Bar')}}
[all...]
H A Dwarn-missing-noreturn.cpp111 struct Bar { struct in namespace:PR10801
121 Bar b;
H A Dvirtual-override.cpp195 class Bar : public Foo { class in namespace:PR5920
H A Dconditional-expr.cpp259 struct Bar { struct in namespace:PR6757
266 (void)(true ? Bar() : Foo1()); // okay
267 (void)(true ? Bar() : Foo2()); // okay
268 (void)(true ? Bar() : Foo3()); // expected-error{{no viable constructor copying temporary}}
H A Dnew-delete.cpp471 class Bar {}; class in namespace:PR12061
472 Foo<Bar> x;
H A Dwarn-thread-safety-parsing.cpp76 class Bar { class
1294 class Bar { class in namespace:FunctionDefinitionParseTest
1304 void Bar<T>::bar() EXCLUSIVE_LOCKS_REQUIRED(mu_) { }
1328 class Bar { class in class:NestedClassLateDecl::Foo
1333 void bar2(Bar* b) EXCLUSIVE_LOCKS_REQUIRED(b->mu) { b->a = 0; }
/external/clang/test/SemaTemplate/
H A Dinstantiate-local-class.cpp18 void Bar() { function in struct:PR5764::X
31 x.Bar<int>();
H A Dtemp_explicit.cpp120 struct Bar struct in struct:Foo
126 struct Foo<int>::Bar<void> struct in class:Foo
H A Dclass-template-decl.cpp63 template<typename T2> class Bar;
64 typedef Bar<T1> Baz;
67 struct Bar { struct in struct:PR8001::Foo
68 Bar() {} function in struct:PR8001::Foo::Bar
74 Foo<int>::Bar<int> y(x);
H A Ddeduction.cpp144 class Bar { class in namespace:test3
H A Dfriend-template.cpp262 struct Bar { struct in namespace:PR12557
268 Bar<int> b;
H A Dtemp_arg_nontype.cpp129 struct Bar {}; struct in namespace:ns
133 Bar<bool(ns::Foo<int>::value)> x;
/external/clang/test/CXX/temp/temp.spec/temp.expl.spec/
H A Dexamples.cpp132 class Bar class in namespace:PR9668::First
145 typedef First::Bar<Second::Foo> Special;
/external/clang/test/FixIt/
H A Dfixit.cpp204 template<typename> typename Bar, // expected-error {{template template parameter requires 'class' after the parameter list}}
211 enum Bar { X, Y }; enum in class:ShadowedTagType::Foo
212 void SetBar(Bar bar);
213 Bar Bar(); // expected-note 2 {{enum 'Bar' is hidden by a non-type declaration of 'Bar' here}}
215 Bar bar_; // expected-error {{must use 'enum' tag to refer to type 'Bar' in this scope}}
217 void Foo::SetBar(Bar ba
253 namespace Bar { namespace in namespace:redecl_typo
[all...]
/external/clang/test/Analysis/
H A Dmisc-ps-region-store.cpp187 struct Bar;
188 Bar* bar_;
205 bool Bar();
209 bool Foo2<T>::Bar() { function in class:Foo2
218 void Bar();
224 void Foo3<T>::Bar() { function in class:Foo3
/external/protobuf/src/google/protobuf/compiler/cpp/
H A Dcpp_unittest.cc906 void Bar(RpcController* controller, function in class:google::protobuf::compiler::cpp::cpp_unittest::GeneratedServiceTest::MockTestService
912 method_ = "Bar";
1004 bar_(descriptor_->FindMethodByName("Bar")),
1070 // Try again, but call Bar() instead.
1076 EXPECT_EQ("Bar", mock_service_.method_);
1080 // Verify death if we call Foo() with Bar's message types.
1124 // Call Bar() via the stub.
1126 stub_.Bar(&mock_controller_, &bar_request_, &bar_response_, done_.get());
/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DFuturesTest.java174 private static class Bar {} class in class:FuturesTest
175 private static class BarChild extends Bar {}
193 Bar bar = Futures.transform(future, function).get();
432 Bar bar = Futures.transform(future, function).get();
451 Bar bar = new Bar();
452 final MockRequiresGetCallFuture<Bar> barFuture =
453 new MockRequiresGetCallFuture<Bar>(bar);
454 AsyncFunction<Foo, Bar> function =
455 new AsyncFunction<Foo, Bar>() {
[all...]

Completed in 244 milliseconds

123