Home
last modified time | relevance | path

Searched defs:foo (Results 1 – 25 of 3590) sorted by relevance

12345678910>>...144

/llvm-project/clang-tools-extra/test/clang-tidy/checkers/performance/
H A Dimplicit-conversion-in-loop.cpp47 int foo; member
70 for (const SimpleClass& foo : SimpleView()) {} in SimpleClassIterator() local
74 for (const SimpleClass foo : SimpleView()) {} in SimpleClassIterator() local
75 for (SimpleClass foo : SimpleView()) {} in SimpleClassIterator() local
79 for (const SimpleClass& foo : SimpleRefView()) {} in SimpleClassRefIterator() local
81 for (const SimpleClass foo : SimpleRefView()) {} in SimpleClassRefIterator() local
82 for (SimpleClass foo : SimpleRefView()) {} in SimpleClassRefIterator() local
86 for (const ComplexClass& foo : ComplexView()) {} in ComplexClassIterator() local
88 for (const ComplexClass foo : ComplexView()) {} in ComplexClassIterator() local
89 for (ComplexClass foo : ComplexView()) {} in ComplexClassIterator() local
[all …]
/llvm-project/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/
H A DF_nullptr.pass.cpp65 int foo() { return 42; } in foo() function
66 int foo(int) { return 42; } in foo() function
67 int foo(int, int) { return 42; } in foo() function
68 int foo(int, int, int) { return 42; } in foo() function
70 int foo(...) { return 42; } in foo() function
71 int foo(int, ...) { return 42; } in foo() function
72 int foo(int, int, ...) { return 42; } in foo() function
73 int foo(int, int, int, ...) { return 42; } in foo() function
77 int foo() { return 42; } in foo() function
78 int foo() const { return 42; } in foo() function
[all …]
/llvm-project/lldb/test/API/functionalities/data-formatter/synthcapping/
H A Dmain.cpp1 struct foo struct
22 foo(int X) : in foo() argument
/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-python-synth/
H A Dmain.cpp1 struct foo struct
22 foo(int X) : in foo() argument
/llvm-project/clang/test/PCH/
H A Dcxx0x-delegating-ctors.cpp10 struct foo { struct
11 foo(int) : foo() { } in foo() argument
13 foo(bool) : foo('c') { } in foo() function
14 foo(char) : foo(true) { } in foo() function
17 foo::foo() : foo(1) { } // expected-error{{creates a delegation cycle}} \ in foo() function in foo
/llvm-project/clang/test/SemaCXX/
H A Dcxx0x-delegating-ctors.cpp3 struct foo { struct
5 foo(); argument
16 foo::foo (int i) : i(i) { in foo() function in foo
19 foo::foo () : foo(-1) { in foo() function in foo
22 foo::foo (int, int) : foo() { in foo() function in foo
25 foo::foo (bool) : foo(true) { // expected-error{{creates a delegation cycle}} in foo() function in foo
29 foo::foo (const float* f) : foo(*f) { // expected-note{{it delegates to}} in foo() function in foo
32 foo::foo (const float &f) : foo(&f) { //expected-error{{creates a delegation cycle}} \ in foo() function in foo
36 foo::foo (char) : in foo() function in foo
42 foo::foo (void*) : foo(4.0f) { in foo() function in foo
/llvm-project/clang/test/Analysis/
H A Drange_casts.c6 void f1(long foo) in f1() argument
16 void f2(unsigned long foo) in f2() argument
26 void f3(unsigned long foo) in f3() argument
36 f4(long foo) f4() argument
46 f5(long foo) f5() argument
56 f6(long foo) f6() argument
66 f7(long foo) f7() argument
76 f8(long foo) f8() argument
86 f9(long foo) f9() argument
96 f10(long foo) f10() argument
106 f11(long foo) f11() argument
116 f12(long foo) f12() argument
126 f13(int foo) f13() argument
136 f14(long foo) f14() argument
147 f15(long foo) f15() argument
[all...]
/llvm-project/lldb/test/API/python_api/sbdata/
H A Dmain.cpp3 struct foo struct
8 foo() : a(0), b(1), c(3.14) {} in foo() argument
9 foo(uint32_t A, uint32_t B, float C) : in foo() function
/llvm-project/clang/test/SemaObjC/
H A Dclass-property-inheritance.m7 @property(nullable, readonly, strong, class) MyObject *foo; property
11 @property(nonnull, readonly, copy, class) MyObject *foo; // expected-warning {{'copy' attribute on … property
17 @property(nullable, readonly, strong) MyObject *foo; property
21 @property(nonnull, readonly, copy, class) MyObject *foo; // no-warning property
25 @property(nullable, readonly, copy) MyObject *foo; // expected-warning {{'copy' attribute on proper… property
30 @property(nullable, readonly, strong, class) MyObject *foo; property
34 @property(nonnull, readonly, copy) MyObject *foo; // no-warning property
38 @property(nonnull, readonly, copy, class) MyObject *foo; // expected-warning {{'copy' attribute on … property
H A Dencode-typeof-test.m29 struct foo { struct
41 …return @encode(struct foo); // expected-warning {{encoding of 'struct foo' type is incomplete beca… argument
/llvm-project/lldb/test/Shell/SymbolFile/DWARF/x86/
H A Dfind-basic-function.cpp100 void foo() {} in foo() function
101 void foo(int) {} in foo() function
105 void foo() {} in foo() function
107 void foo() {} in foo() function
111 struct foo {}; struct
112 void fbar(struct foo) {} in fbar()
120 void sbar::foo() {} in foo() function in sbar
121 void sbar::foo(int) {} in foo() function in sbar
125 void foo() {} in ffbar() function
H A Dfind-basic-type.cpp35 struct foo { }; global() struct
40 struct foo {}; global() struct
44 struct foo {}; global() struct
50 struct foo {}; global() struct
58 _start(foo,bar::foo,bar::baz::foo,sbar::foo,foobar,Foo) _start() argument
[all...]
H A Dfind-basic-variable.cpp47 int foo; variable
52 long foo; variable
57 static short foo; variable
64 static int foo; member
68 int sbar::foo; member in sbar
74 static int foo; in fbar() local
81 int foo; member
/llvm-project/clang/test/Parser/
H A Dparenthesis-balance.cpp4 if (int foo = f(bar)) {} // expected-error{{use of undeclared identifier 'bar'}} in f() local
5 while (int foo = f(bar)) {} // expected-error{{use of undeclared identifier 'bar'}} in f() local
6 for (int foo = f(bar);;) {} // expected-error{{use of undeclared identifier 'bar'}} in f() local
9 if (int foo = f(bar)) {} in f() local
10 while (int foo = f(bar)) {} in f() local
11 for (int foo = f(bar);;) {} in f() local
/llvm-project/clang/test/CodeGenCXX/
H A Dvtable-key-function-arm.cpp32 void Test0a::foo() {} in foo() function in Test0a
43 void Test0b::foo() {} in foo() function in Test0b
64 inline void Test1a::foo() {} in foo() function in Test1a
75 inline void Test1b::foo() {} in foo() function in Test1b
98 inline void Test2a::foo() {} foo() function in Test2a
117 inline void Test2b::foo() {} foo() function in Test2b
129 inline void Test2c::foo() {} foo() function in Test2c
153 inline void Test3a::foo() {} foo() function in Test3a
172 inline void Test3b::foo() {} foo() function in Test3b
184 inline void Test3c::foo() {} foo() function in Test3c
208 template <> inline void Test4a<int>::foo() {} foo() function in Test4a
227 template <> inline void Test4b<int>::foo() {} foo() function in Test4b
239 template <> inline void Test4c<int>::foo() {} foo() function in Test4c
266 template <> inline void Test5a<int>::foo() {} foo() function in Test5a
287 template <> inline void Test5b<int>::foo() {} foo() function in Test5b
301 template <> inline void Test5c<int>::foo() {} foo() function in Test5c
[all...]
H A Dattr-cpuspecific-outoflinedefs.cpp7 __attribute__((cpu_specific(atom))) int foo(int, int, int) { return 1; } in foo() function
10 int __attribute__((cpu_specific(atom))) OutOfLineDefs::foo(int) { in foo() function in OutOfLineDefs
13 int __attribute__((cpu_specific(ivybridge))) OutOfLineDefs::foo(int) { in foo() function in OutOfLineDefs
16 int __attribute__((cpu_dispatch(ivybridge, atom))) OutOfLineDefs::foo(int) { in foo() function in OutOfLineDefs
19 int __attribute__((cpu_specific(atom))) OutOfLineDefs::foo(int, int) { in foo() function in OutOfLineDefs
22 int __attribute__((cpu_specific(ivybridge))) OutOfLineDefs::foo(int, int) { in foo() function in OutOfLineDefs
26 OutOfLineDefs::foo(int, int) { in foo() function in OutOfLineDefs
29 int __attribute__((cpu_specific(ivybridge))) OutOfLineDefs::foo(int, int, int) { in foo() function in OutOfLineDefs
33 OutOfLineDefs::foo(int, int, int) { in foo() function in OutOfLineDefs
37 OutOfLineDefs::foo(int, int, int) { in foo() function in OutOfLineDefs
H A Dattr-target-mv-diff-ns.cpp6 int __attribute__((target("sse4.2"))) foo(int) { return 0; } in foo() function
8 int __attribute__((target("arch=ivybridge"))) foo(int) {return 1;} in foo() function
9 int __attribute__((target("default"))) foo(int) { return 2; } in foo() function
12 int __attribute__((target("sse4.2"))) foo(int) { return 0; } in foo() function
14 int __attribute__((target("arch=ivybridge"))) foo(int) {return 1;} in foo() function
15 int __attribute__((target("default"))) foo(int) { return 2; } in foo() function
H A Dvtable-key-function-ios.cpp36 void Test0a::foo() {} in foo() function in Test0a
47 void Test0b::foo() {} in foo() function in Test0b
70 inline void Test1a::foo() {} in foo() function in Test1a
81 inline void Test1b::foo() {} in foo() function in Test1b
104 inline void Test2a::foo() {} in foo() function in Test2a
122 inline void Test2b::foo() {} foo() function in Test2b
133 inline void Test2c::foo() {} foo() function in Test2c
157 inline void Test3a::foo() {} foo() function in Test3a
176 inline void Test3b::foo() {} foo() function in Test3b
188 inline void Test3c::foo() {} foo() function in Test3c
[all...]
/llvm-project/flang/test/Semantics/
H A Dresolve18.f905 subroutine foo(x) subroutine
14 …!WARNING: 'foo' should not be the name of both a generic interface and a procedure unless it is a … argument
15 interface foo interface
24 subroutine foo subroutine
36 type :: foo type
41 interface foo interface
47 type :: foo type
51 function foo(x) function
56 type :: foo type
58 interface foo interface
[all …]
H A Dcanondo05.f9013 subroutine foo() subroutine
16 1 continue
17 2 do 3 i=1,2 label
18 3 continue
27 4 end do mainloop
/llvm-project/flang/test/Evaluate/
H A Drewrite02.f904 subroutine foo(j) subroutine
5 integer, intent(in) :: j local
6 character*4 sc, ac(1)
7 type t type
10 type(t) st, at(1)
/llvm-project/clang/test/ARCMT/
H A Dcxx-rewrite.mm11 struct foo { struct
13 foo(NSString *s): s([s retain]){ argument
22 foo(foo const &); field
23 foo &operator=(foo const &); argument
29 foo f([[NSString string] autorelease]); argument
/llvm-project/clang/test/CodeGen/
H A Dattr-target-mv.c5 int __attribute__((target("sse4.2"))) foo(void) { return 0; } in foo() function
7 int __attribute__((target("arch=ivybridge"))) foo(void) {return 1;} in foo() function
8 int __attribute__((target("arch=goldmont"))) foo(void) {return 3;} in foo() function
9 int __attribute__((target("arch=goldmont-plus"))) foo(void) {return 4;} in foo() function
10 int __attribute__((target("arch=tremont"))) foo(void) {return 5;} in foo() function
11 int __attribute__((target("arch=icelake-client"))) foo(void) {return 6;} in foo() function
12 int __attribute__((target("arch=icelake-server"))) foo(void) {return 7;} in foo() function
13 int __attribute__((target("arch=cooperlake"))) foo(void) {return 8;} in foo() function
14 int __attribute__((target("arch=tigerlake"))) foo(voi in foo() function
15 int __attribute__((target("arch=sapphirerapids"))) foo(void) {return 10;} foo() function
16 int __attribute__((target("arch=alderlake"))) foo(void) {return 11;} foo() function
17 int __attribute__((target("arch=rocketlake"))) foo(void) {return 12;} foo() function
18 int __attribute__((target("arch=core2"))) foo(void) {return 13;} foo() function
19 int __attribute__((target("arch=raptorlake"))) foo(void) {return 14;} foo() function
20 int __attribute__((target("arch=meteorlake"))) foo(void) {return 15;} foo() function
21 int __attribute__((target("arch=sierraforest"))) foo(void) {return 16;} foo() function
22 int __attribute__((target("arch=grandridge"))) foo(void) {return 17;} foo() function
23 int __attribute__((target("arch=graniterapids"))) foo(void) {return 18;} foo() function
24 int __attribute__((target("arch=emeraldrapids"))) foo(void) {return 19;} foo() function
25 int __attribute__((target("arch=graniterapids-d"))) foo(void) {return 20;} foo() function
26 int __attribute__((target("arch=arrowlake"))) foo(void) {return 21;} foo() function
27 int __attribute__((target("arch=arrowlake-s"))) foo(void) {return 22;} foo() function
28 int __attribute__((target("arch=lunarlake"))) foo(void) {return 23;} foo() function
29 int __attribute__((target("arch=gracemont"))) foo(void) {return 24;} foo() function
30 int __attribute__((target("arch=pantherlake"))) foo(void) {return 25;} foo() function
31 int __attribute__((target("arch=clearwaterforest"))) foo(void) {return 26;} foo() function
32 int __attribute__((target("default"))) foo(void) { return 2; } foo() function
[all...]
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/altera/
H A Dsingle-work-item-barrier.cpp7 void __kernel error_barrier_no_id(__global int * foo, int size) { in error_barrier_no_id()
21 void __kernel success_barrier_global_id(__global int * foo, int size) { in success_barrier_global_id()
26 void __kernel success_barrier_local_id(__global int * foo, int size) { in success_barrier_local_id()
31 void __kernel success_barrier_both_ids(__global int * foo, int size) { in success_barrier_both_ids()
37 void success_nokernel_barrier_no_id(__global int * foo, int size) { in success_nokernel_barrier_no_id()
49 void success_nokernel_barrier_global_id(__global int * foo, int size) { in success_nokernel_barrier_global_id()
54 void success_nokernel_barrier_local_id(__global int * foo, int size) { in success_nokernel_barrier_local_id()
59 void success_nokernel_barrier_both_ids(__global int * foo, int size) { in success_nokernel_barrier_both_ids()
67 void __kernel error_barrier_no_id(__global int * foo, int size) { in error_barrier_no_id()
81 void __kernel success_barrier_global_id(__global int * foo, int size) { in success_barrier_global_id()
[all …]
/llvm-project/flang/test/Lower/HLFIR/
H A Dbindc_empty_name.f908 subroutine foo(x) bind(c, name="") subroutine
13 subroutine foo(x) bind(c, name="bar") argument
20 subroutine foo(x) bind(c, name="") subroutine
21 integer(8) :: x local

12345678910>>...144