Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dwarn-enum-compare.cpp25 Foo getFoo();
123 …while (getFoo() == y); // expected-warning {{comparison of different enumeration types ('Foo' and… in test()
124 …while (getFoo() != y); // expected-warning {{comparison of different enumeration types ('Foo' and… in test()
125 …while (getFoo() >= y); // expected-warning {{comparison of different enumeration types ('Foo' and… in test()
126 …while (getFoo() <= y); // expected-warning {{comparison of different enumeration types ('Foo' and… in test()
127 …while (getFoo() > y); // expected-warning {{comparison of different enumeration types ('Foo' and … in test()
128 …while (getFoo() < y); // expected-warning {{comparison of different enumeration types ('Foo' and … in test()
188 …while (y == getFoo()); // expected-warning {{comparison of different enumeration types ('Bar' and… in test()
189 …while (y != getFoo()); // expected-warning {{comparison of different enumeration types ('Bar' and… in test()
192 …while (y > getFoo()); // expected-warning {{comparison of different enumeration types ('Bar' and … in test()
[all …]
H A Dwarn-weak-vtables.cpp44 virtual void * getFoo() const = 0;
50 void * getFoo() const;
55 void * getFoo() const { return 0; } in getFoo() function in VeryDerived
H A Dconstexpr-default-init-value-crash.cpp10 constexpr Foo getFoo() { in getFoo() function
H A Dabstract.cpp96 virtual foo *getFoo() = 0;
101 virtual bar *getFoo();
H A Dwarn-thread-safety-analysis.cpp1080 Foo &getFoo();
1081 struct Bar { Foo &func () {return getFoo();} }; in func()
2351 Foo& getFoo() { return *f; } in getFoo() function in MoreLockExpressions::Bar
2369 bar.getFoo().mu_.Lock(); in test()
2370 bar.getFoo().a = 0; in test()
2371 bar.getFoo().mu_.Unlock(); in test()
2373 (bar.getFoo().mu_).Lock(); // test parenthesis in test()
2374 bar.getFoo().a = 0; in test()
2375 (bar.getFoo().mu_).Unlock(); in test()
2414 bar.getFoo().mu_.Lock(); in test2()
[all …]
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dobjc-precise-lifetime-unused-variable.m3 id getFoo(void); function
8 x = getFoo();
11 x2 = getFoo();
15 y = getFoo();
18 y2 = getFoo();
H A Dblock-capture-unused-variable.m11 id getFoo(void); function
23 __block id x = getFoo();
27 id x2 = getFoo(); // expected-warning {{variable 'x2' set but not used}}
33 x2 = getFoo();
/llvm-project-15.0.7/llvm/test/Linker/
H A Dtype-unique-odr-a.ll19 ; 4 void getFoo();
29 ; return A().getFoo();
42 ; CHECK: DW_AT_name ("getFoo")
54 ; Ensure that getFoo and A are only emitted once.
55 ; CHECK-NOT: AT_name{{.*(getFoo)|("A")}}
95 !9 = !DISubprogram(name: "getFoo", linkageName: "_ZN1A6getFooEv", line: 4, isLocal: false, isDefini…
H A Dtype-unique-odr-b.ll12 ; 5 void getFoo();
15 ; 8 void A::getFoo() {}
66 !9 = !DISubprogram(name: "getFoo", linkageName: "_ZN1A6getFooEv", line: 5, isLocal: false, isDefini…
70 !15 = distinct !DISubprogram(name: "getFoo", linkageName: "_ZN1A6getFooEv", line: 8, isLocal: false…
H A Dtype-unique-simple2-b.ll8 ; foo_t A::getFoo() { return 1; }
68 !19 = !DISubprogram(name: "getFoo", linkageName: "_ZN1A6getFooEv", line: 5, isLocal: false, isDefin…
75 !28 = distinct !DISubprogram(name: "getFoo", linkageName: "_ZN1A6getFooEv", line: 4, isLocal: false…
H A Dtype-unique-simple2-a.ll12 ; virtual const foo_t getFoo();
18 ; return A().getFoo();
102 !19 = !DISubprogram(name: "getFoo", linkageName: "_ZN1A6getFooEv", line: 5, isLocal: false, isDefin…
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Ddebug-info-nrvo.cpp14 Foo getFoo() { in getFoo() function
22 Foo bar = getFoo(); in main()
/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Posix/
H A Dnew_array_cookie_with_new_from_class.cpp28 Foo *getFoo(size_t n) { in getFoo() function
33 Foo *foo = getFoo(10); in main()
/llvm-project-15.0.7/clang/test/Modules/Inputs/
H A Dnamespaces-left.h65 Foo *getFoo();
72 Foo *getFoo();
/llvm-project-15.0.7/llvm/test/Assembler/
H A Ddiobjcproperty.ll12 …IObjCProperty(name: "foo", file: !1, line: 7, setter: "setFoo", getter: "getFoo", attributes: 7, t…
14 getter: "getFoo", attributes: 7, type: !2)
/llvm-project-15.0.7/clang/test/Modules/
H A Dnamespaces.cpp75 …N11::consumeFoo(N11::getFoo()); // expected-error{{cannot initialize a parameter of type 'N11::(an… in testAnonymousNotMerged()
76 …N12::consumeFoo(N12::getFoo()); // expected-error{{cannot initialize a parameter of type 'N12::(an… in testAnonymousNotMerged()
/llvm-project-15.0.7/clang/test/Analysis/
H A Dcall-and-message.mm18 Foo *getFoo() { return 0; } function
21 getFoo().ref = 1;
/llvm-project-15.0.7/clang-tools-extra/clangd/test/remote-index/
H A Dpublic-log.test19 # LOG-ALL: name: "getFoo"
21 # LOG-PUBLIC-NOT: getFoo
/llvm-project-15.0.7/mlir/test/mlir-tblgen/
H A Dattrdefs.td165 static int getFoo(int i);
168 int $cppClass::getFoo(int i) {
176 // DECL-NEXT: static int getFoo(int i);
178 // DEF-LABEL: int TestExtraClassAttr::getFoo(int i) {
/llvm-project-15.0.7/clang-tools-extra/clangd/test/remote-index/Inputs/
H A DHeader.h4 int getFoo(bool Argument);
/llvm-project-15.0.7/clang/test/CodeCompletion/
H A Dobjc-protocol-member-access.m15 int getFoo(id object) { function
H A Dobjc-member-access.m12 int getFoo(id object) { function
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/readability/
H A Dimplicit-bool-conversion.rst21 int getFoo() { return m_foo; }
25 bool value = foo.getFoo(); // warning: implicit conversion int -> bool
/llvm-project-15.0.7/llvm/test/DebugInfo/COFF/
H A Dnrvo.ll11 ; Foo getFoo() {
19 ; Foo bar = getFoo();
/llvm-project-15.0.7/llvm/docs/
H A DLangRef.rst5907 getter: "getFoo", attributes: 7, type: !2)