Home
last modified time | relevance | path

Searched refs:Bar (Results 1 – 25 of 163) sorted by relevance

1234567

/minix/external/bsd/llvm/dist/clang/test/Analysis/
H A Dmember-expr.cpp9 Bar = 1 enumerator
14 clang_analyzer_eval(Baz.Bar == Foo::Bar); // expected-warning{{TRUE}} in testEnumVal()
18 clang_analyzer_eval(Baz.Bar == Foo::Bar); // expected-warning{{TRUE}} in testEnumRef()
22 clang_analyzer_eval(Baz->Bar == Foo::Bar); // expected-warning{{TRUE}} in testEnumPtr()
H A Drdar-6600344-nil-receiver-undefined-struct-ret.m4 typedef struct Foo { int x; } Bar; typedef
7 - (Bar)foo;
10 - (Bar)foo {
18 Bar f = [obj foo]; // no-warning
24 Bar f = [obj foo]; // no-warning
/minix/external/bsd/llvm/dist/clang/test/SemaTemplate/
H A Dms-delayed-default-template-args.cpp37 template <typename T> struct Bar { T x; }; struct
39 template <Bar<Qux> *P>
42 Bar<int> g;
48 template <typename T> struct Bar { T x; }; struct
49 template <typename T = Bar<Weber>> // expected-error {{use of undeclared identifier 'Weber'}}
85 template <typename T> struct Bar { T x; }; argument
87 template <Bar<Xylophone> *P> // expected-error {{use of undeclared identifier 'Xylophone'}}
92 Bar<Xylophone> g;
H A Doverloaded-functions.cpp20 void Bar() {} in Bar() function
23 void Bar() { in Bar() function
29 Bar<-1>(); in test_bar()
H A Dclass-template-decl.cpp72 template<typename T2> class Bar;
73 typedef Bar<T1> Baz;
76 struct Bar { struct
77 Bar() {} in Bar() argument
83 Foo<int>::Bar<int> y(x); in pr8001()
/minix/external/bsd/llvm/dist/clang/test/SemaCXX/
H A Dzero-length-arrays.cpp12 class Bar { class
19 Bar(): foo_count(0) { } in Bar() function in Bar
20 ~Bar() { } in ~Bar()
24 Bar b; in testBar()
25 Bar b2(b); in testBar()
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 d… in f()
30 f->~Bar(); in f()
32 i->~Bar(); // expected-error{{does not match}} in f()
34 g().~Bar(); // expected-error{{non-scalar}} in f()
36 f->::~Bar(); in f()
39 f->::~Bar(17, 42); // expected-error{{cannot have any arguments}} in f()
H A Dfunction-redecl.cpp40 void Bar(); // expected-note {{'Bar' declared here}} in dummy()
66 class Bar { class
72 void Bar::f(Foo::Inner foo) { // expected-error {{out-of-line definition of 'f' does not match any … in f()
110 namespace Bar { namespace
/minix/external/bsd/llvm/dist/clang/test/CodeGenCXX/
H A Dunion-dtor.cpp11 struct Bar { struct
12 Bar();
13 ~Bar();
20 Bar bar;
28 Bar bar;
H A D2005-02-19-UnnamedVirtualThunkArgument.cpp8 struct Bar { struct
9 Bar();
10 virtual ~Bar();
14 struct Baz : public Foo, public Bar {
H A Ddebug-info-indirect-field-decl.cpp8 struct Bar { struct
17 Foo<Bar, &Bar::i2> the_foo; argument
H A Dcopy-initialization.cpp8 struct Bar { struct
9 Bar();
20 f(Bar()); in g()
/minix/external/bsd/llvm/dist/clang/test/CodeGen/
H A Dms-inline-asm.cpp10 struct Bar { struct
18 Foo::Bar::ptr = (int *)0xDEADBEEF; in t1() argument
20 __asm mov eax, Foo :: Bar :: ptr in t1()
32 __asm mov eax, offset Foo::Bar::ptr in t2()
40 __asm mov eax, LENGTH Foo::Bar::ptr in t3()
42 __asm mov eax, LENGTH Foo::Bar::arr in t3()
45 __asm mov eax, TYPE Foo::Bar::ptr in t3()
47 __asm mov eax, TYPE Foo::Bar::arr in t3()
50 __asm mov eax, SIZE Foo::Bar::ptr in t3()
52 __asm mov eax, SIZE Foo::Bar::arr in t3()
H A Dubsan-type-blacklist.cpp6 class Bar { class
8 virtual ~Bar() {} in ~Bar()
10 class Foo : public Bar {};
12 Bar bar;
H A Dvariadic-gpfp-x86.c3 struct Bar { struct
9 struct Bar foo(__builtin_va_list ap) { in foo() argument
10 return __builtin_va_arg(ap, struct Bar); in foo()
H A D2009-06-18-StaticInitTailPadPack.c6 struct Bar { struct
12 struct Bar f1; argument
13 struct Bar f2;
/minix/external/bsd/llvm/dist/clang/test/Rewriter/
H A Drewrite-nested-blocks.mm44 @interface Bar interface
47 void f(Bar *);
51 void (^myblock)(Bar *b) = ^(Bar *b) {
57 Bar *b = (Bar *)42;
/minix/external/bsd/llvm/dist/clang/test/SemaObjC/
H A Dcategory-method-lookup-2.m8 @interface Bar : NSObject interface
10 @interface Bar (Cat) interface in Cat
13 // NOTE: No class implementation for Bar precedes this category definition.
14 @implementation Bar (Cat) implementation in Cat
H A Dprotocol-lookup.m16 @protocol Bar <Foo> protocol
21 id <Bar> _bar;
23 - (id)initWithFoo:(id <Foo>)foo bar:(id <Bar>)bar; argument
33 - (id)initWithFoo:(id <Foo>)foo bar:(id <Bar>)bar
/minix/external/bsd/llvm/dist/clang/test/Parser/
H A Dcxx-using-declaration.cpp51 class Bar {}; class
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}} in ambiguity()
/minix/external/bsd/llvm/dist/llvm/test/Analysis/TypeBasedAliasAnalysis/
H A Dplacement-tbaa.ll6 ; struct Bar { void *p; };
11 ; Bar *b = new (f) Bar;
24 %struct.Bar = type { i8* }
31 %b = alloca %struct.Bar*, align 8
55 %6 = bitcast i8* %5 to %struct.Bar*
59 %7 = phi %struct.Bar* [ %6, %new.notnull ], [ null, %for.body ]
60 store %struct.Bar* %7, %struct.Bar** %b, align 8, !tbaa !4
61 %8 = load %struct.Bar** %b, align 8, !tbaa !4
62 %p = getelementptr inbounds %struct.Bar* %8, i32 0, i32 0
/minix/external/bsd/llvm/dist/clang/test/FixIt/
H A Dfixit.cpp207 …template<typename> typename Bar, // expected-warning {{template template parameter using 'typename…
214 enum Bar { X, Y }; enum in ShadowedTagType::Foo
215 void SetBar(Bar bar);
216 Bar Bar(); // expected-note 2 {{enum 'Bar' is hidden by a non-type declaration of 'Bar' here}}
218 Bar bar_; // expected-error {{must use 'enum' tag to refer to type 'Bar' in this scope}}
220 void Foo::SetBar(Bar bar) { bar_ = bar; } // expected-error {{must use 'enum' tag to refer to type … in SetBar()
256 namespace Bar { namespace
/minix/external/bsd/llvm/dist/clang/test/SemaObjCXX/
H A Dprotocol-lookup.mm15 @protocol Bar <Foo> protocol
20 id <Bar> _bar;
22 - (id)initWithFoo:(id <Foo>)foo bar:(id <Bar>)bar; argument
32 - (id)initWithFoo:(id <Foo>)foo bar:(id <Bar>)bar
/minix/external/bsd/llvm/dist/clang/test/PCH/
H A Dselector-warning.m4 @interface Bar interface
10 @implementation Bar implementation
16 @implementation Bar(CAT) implementation in CAT
/minix/external/bsd/llvm/dist/clang/test/CodeGenObjC/
H A Ddebug-info-property-accessors.m27 @interface Bar : NSObject interface
32 @implementation Bar implementation
48 Bar *my_bar = [[Bar alloc] init];

1234567