/llvm-project/clang/test/SemaTemplate/ |
H A D | ms-delayed-default-template-args.cpp | 7 struct Foo { T x; }; struct 9 template struct Foo<>; variable 15 struct Foo { struct 21 template struct nested::Foo<>; member in test_namespace::nested 27 struct Foo { struct 33 template struct Outer::Foo<>; member in test_inner_class_template::Outer 40 struct Foo { struct 43 template struct Foo<&g>; variable 50 struct Foo { struct 59 struct Foo { struct [all …]
|
/llvm-project/clang/test/SemaCXX/ |
H A D | diagnose_if.cpp | 173 struct Foo { struct 251 struct Foo { struct 258 struct Foo<int> { struct 300 struct Foo { struct 301 int i; 302 constexpr Foo(int i): i(i) {} in Foo() argument 303 constexpr bool isFooable() const { return i; } in isFooable() 305 …id go() const _diagnose_if(isFooable(), "oh no", "error") {} // expected-note{{from 'diagnose_if'}} in go() 306 …st _diagnose_if(isFooable(), "oh no", "error") { return 1; } // expected-note{{from 'diagnose_if'}} in operator int() 308 …void go2() const _diagnose_if(isFooable(), "oh no", "error") // expected-note{{from 'diagnose_if'}} in go2() [all …]
|
H A D | cxx20-ctad-type-alias.cpp | 5 struct Foo { T t; }; argument 61 struct Foo {}; struct 71 struct Foo { struct 82 struct Foo { struct 95 struct Foo { global() struct 107 struct Foo { global() struct 124 struct Foo { global() struct 139 ctest11::Foo global() argument 155 struct Foo { global() struct 157 Bartest12::Foo global() argument 162 ABartest12::Foo global() argument 163 testtest12::Foo test() argument 173 struct Foo { global() struct 193 struct Foo { global() struct 207 template <class T> struct Foo { Foo(T); }; global() struct 227 struct Foo { global() struct 228 ttest16::Foo global() argument 229 Footest16::Foo Foo() argument 246 ttest17::Foo global() argument 260 ttest18::Foo global() argument 279 class Foo {}; global() class 294 class Foo {}; global() class 327 struct Foo { global() struct 328 Footest22::Foo Foo() argument 366 struct Foo { global() struct 384 struct Foo { global() struct 406 struct Foo { global() struct [all...] |
H A D | constexpr-array-init.cpp | 8 struct Foo { struct 10 constexpr Foo() in Foo() argument 19 static constexpr Foo bar[2][1] = { argument
|
H A D | tautological-negation-compare.cpp | 29 struct Foo{ in test_int() struct 30 int val; in test_int() 31 Foo operator!() const { return Foo{!val}; } in test_int() 32 bool operator||(const Foo other) const { return val || other.val; } in test_int() 33 bool operator&&(const Foo other) const { return val && other.val; } in test_int()
|
/llvm-project/libcxx/test/libcxx/utilities/function.objects/ |
H A D | func.blocks.arc.pass.mm | 25 struct Foo { struct 26 Foo() = default; argument 32 Foo Factory(std::size_t (^bl)()) { argument 37 Foo Factory2() { argument 44 Foo AssignmentFactory(std::size_t (^bl)()) { argument 50 Foo AssignmentFactory2() { argument 57 int main(int, char **) {
|
/llvm-project/clang/test/FixIt/ |
H A D | fixit-cxx-init-order.cpp | 8 struct Foo { struct 11 Foo() : A(1), B(3), C(2) {} in Foo() argument 12 …Foo(int) : A(1), C(2), B(3) {} // expected-warning {{field 'C' will be initialized after fiel… in Foo() argument 13 …Foo(unsigned) : C(2), B(3), A(1) {} // expected-warning {{initializer order does not match the dec… in Foo() argument
|
/llvm-project/clang/test/CodeGenObjC/ |
H A D | pass-by-value-noalias.m | 11 struct Foo { struct 22 void take(struct Foo arg) {} argument
|
H A D | debug-info-category.m | 4 @interface Foo { interface 12 @implementation Foo implementation 23 @interface Foo (Bar) interface in Bar 24 + (id)zero:(Foo *)zeroend; 25 - (id)add:(Foo *)addend; 28 @implementation Foo (Bar) implementation in Bar 29 + (id)zero:(Foo *)zeroend { 32 - (id)add:(Foo *)addend {
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
H A D | easily-swappable-parameters-ignore-default.cpp | 41 void f1(bool Foo, bool Bar) {} in f1() 42 void f2(IgnoredTypes::Bool Foo, IgnoredTypes::Bool Bar) {} in f2() 43 void f3(IgnoredTypes::_Bool Foo, IgnoredTypes::_Bool Bar) {} in f3() 44 void f4(IgnoredTypes::it Foo, IgnoredTypes::it Bar) {} in f4() 45 void f5(IgnoredTypes::It Foo, IgnoredTypes::It Bar) {} in f5() 46 void f6(IgnoredTypes::iterator Foo, IgnoredTypes::iterator Bar) {} in f6() 47 void f7(IgnoredTypes::Iterator Foo, IgnoredTypes::Iterator Bar) {} in f7() 48 void f8(IgnoredTypes::inputit Foo, IgnoredTypes::inputit Bar) {} in f8() 49 void f9(IgnoredTypes::InputIt Foo, IgnoredTypes::InputIt Bar) {} in f9() 50 void f10(IgnoredTypes::forwardit Foo, IgnoredTypes::forwardit Bar) {} in f10() [all …]
|
/llvm-project/clang/test/CodeGen/ |
H A D | pass-by-value-noalias.c | 5 struct Foo { struct 16 void take(struct Foo arg) {} in take() argument
|
/llvm-project/clang-tools-extra/test/clang-reorder-fields/ |
H A D | CStructAmbiguousName.cpp | 3 struct Foo { struct 9 struct Foo { argument 16 bar::Foo foo = { 1, 1.7 }; // CHECK: {{^ bar::Foo foo = { 1, 1.7 };}} in main()
|
H A D | PlainCStructFieldsOrder.c | 3 struct Foo { struct 12 struct Foo foo = { &x, 0, 1.29, 17 }; // CHECK: {{^ struct Foo foo = { 1.29, 17, 0, &x };}} in main() argument
|
H A D | CStructFieldsOrder.cpp | 4 struct Foo { struct 14 bar::Foo foo = { &x, 0, 1.29, 17 }; // CHECK: {{^ bar::Foo foo = { 1.29, 17, 0, &x };}} in main()
|
/llvm-project/clang/test/utils/update_cc_test_checks/Inputs/ |
H A D | explicit-template-instantiation.cpp | 4 struct Foo { struct 9 Foo(T x) : x(x) {} in Foo() function 10 ~Foo() {} in ~Foo() argument 19 struct Foo<T> foo; argument 38 template struct Foo<char>; variable 40 template struct Foo<short>; variable
|
/llvm-project/clang/test/PCH/ |
H A D | dllexport-default-arg-closure.cpp | 13 struct __declspec(dllexport) Foo { struct 15 Foo(E e = E0) : e(e) {} in Foo() argument
|
/llvm-project/lldb/test/API/functionalities/data-formatter/pyobjsynthprovider/ |
H A D | main.cpp | 1 struct Foo struct 5 Foo() : x(3.1415), y(1234) {} in Foo() argument
|
/llvm-project/libcxx/test/std/utilities/memory/specialized.algorithms/specialized.construct/ |
H A D | construct_at.pass.cpp | 23 struct Foo { in Foo() argument 24 constexpr Foo() { } in Foo() argument 25 constexpr Foo(int a, char b, double c) : a_(a), b_(b), c_(c) { } in Foo() argument 26 constexpr Foo(int a, char b, double c, int* count) : Foo(a, b, c) { *count += 1; } in operator ==() argument 22 struct Foo { global() struct 31 a_Foo global() argument 32 b_Foo global() argument 33 c_Foo global() argument [all...] |
/llvm-project/lldb/test/API/lang/cpp/function-ref-qualifiers/ |
H A D | main.cpp | 4 struct Foo { struct 12 Foo foo; in main() argument
|
/llvm-project/libcxx/test/std/containers/sequences/list/list.cons/ |
H A D | dtor.pass.cpp | 25 struct Foo { struct 26 explicit Foo(int i) : value(i) { } in Foo() function 27 ~Foo() { destroyed.insert(value); } in ~Foo() argument 34 std::list<Foo> list; in main() argument
|
/llvm-project/clang/test/Lexer/ |
H A D | final-macro.c | 4 #define Foo 1 macro 10 #define Foo 1 macro 14 #define Foo 2 macro 25 #define Foo 3 macro
|
/llvm-project/clang/test/Index/ |
H A D | skipped-bodies-ctors.cpp | 6 struct Foo { struct 8 Foo(int &a) : a(a) { in Foo() argument 15 int bar = Foo<int>(bar).a + Foo<int>(bar).a; argument
|
/llvm-project/clang/test/SemaObjC/ |
H A D | category-method-lookup.m | 4 @interface Foo interface 6 @implementation Foo implementation 9 @implementation Foo(Whatever) implementation in Whatever 13 @interface Foo (MoreStuff) interface in MoreStuff 17 @implementation Foo (MoreStuff) implementation in MoreStuff
|
/llvm-project/clang/test/Analysis/Checkers/WebKit/ |
H A D | uncounted-members.cpp | 7 struct Foo { struct 10 // expected-warning@-1{{Member variable 'a' in 'members::Foo' is a raw pointer to ref-countable typ… 21 // expected-warning@-1{{Member variable 'c' in 'members::Foo' is a reference to ref-countable type … 28 // expected-warning@-1{{Member variable 'a' in 'members::FooTmpl<RefCountable>' is a raw pointer to… 41 union Foo { union
|
/llvm-project/compiler-rt/test/asan/TestCases/Posix/ |
H A D | new_array_cookie_with_new_from_class.cpp | 14 struct Foo { struct 17 ~Foo(); argument 25 Foo::~Foo() {} in ~Foo() argument
|