Home
last modified time | relevance | path

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

1234

/llvm-project-15.0.7/clang/test/Sema/
H A Dpass-object-size.c24 #define overloaded __attribute__((overloadable)) macro
25 void Overloaded(void *p PS(0)) overloaded; //expected-note{{previous declaration is here}}
26 void Overloaded(void *p PS(1)) overloaded; //expected-error{{conflicting pass_object_size attribute…
27 void Overloaded2(void *p PS(1), void *p2 PS(0)) overloaded; //expected-note{{previous declaration i…
28 void Overloaded2(void *p PS(0), void *p2 PS(1)) overloaded; //expected-error{{conflicting pass_obje…
30 void Overloaded3(void *p PS(0), void *p2) overloaded; //expected-note{{previous declaration is here…
31 void Overloaded3(void *p, void *p2 PS(0)) overloaded; //expected-error{{conflicting pass_object_siz…
34 void TakeFnOvl(void (*)(void *)) overloaded;
35 void TakeFnOvl(void (*)(int *)) overloaded;
38 void IsOverloaded(void *p PS(0)) overloaded; // expected-note 2 {{candidate address cannot be taken…
[all …]
/llvm-project-15.0.7/clang/test/Index/
H A Dcode-completion.cpp27 float& overloaded(int i, long second);
28 double& overloaded(float f, int second);
29 int& overloaded(Z z, int second);
33 overloaded(Z(), 0); in test_overloaded()
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dattr-target-clones.cpp12 int __attribute__((target_clones("sse4.2", "default"))) overloaded(int) { return 1; } in overloaded() function
25 int __attribute__((target_clones("arch=ivybridge", "default"))) overloaded(const char *) { return 2… in overloaded() function
39 overloaded(1); in use_overloaded()
42 overloaded(nullptr); in use_overloaded()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dcxx0x-initializer-aggregates.cpp63 one overloaded(A); in overloaded_call() local
64 two overloaded(B); in overloaded_call() local
66 static_assert(sizeof(overloaded({1, 2})) == sizeof(one), "bad overload"); in overloaded_call()
67 static_assert(sizeof(overloaded({1, "two"})) == sizeof(two), in overloaded_call()
70 static_assert(sizeof(overloaded({1})) == sizeof(one), "bad overload"); in overloaded_call()
H A Dext-int.cpp204 void overloaded(int);
205 void overloaded(_BitInt(32)); variable
206 void overloaded(_BitInt(33)); variable
207 void overloaded(short);
222 overloaded(i); in overload_use()
223 overloaded(i32); in overload_use()
224 overloaded(i33); in overload_use()
225 overloaded(s); in overload_use()
H A Dcxx0x-initializer-scalars.cpp77 one overloaded(int); in overloaded_call()
78 two overloaded(double); in overloaded_call()
80 …static_assert(sizeof(overloaded({0})) == sizeof(one), "bad overload"); // expected-warning {{brace… in overloaded_call()
81 …static_assert(sizeof(overloaded({0.0})) == sizeof(two), "bad overload"); // expected-warning {{bra… in overloaded_call()
H A Ddecl-microsoft-call-conv.cpp130 static void overloaded(int a);
131 static void __stdcall overloaded(short a);
134 void MixedCCStaticOverload::overloaded(int a) {} in overloaded() function in MixedCCStaticOverload
135 void MixedCCStaticOverload::overloaded(short a) {} in overloaded() function in MixedCCStaticOverload
H A Dcxx0x-initializer-stdinitializerlist.cpp83 one overloaded(std::initializer_list<int>); in overloaded_call()
84 two overloaded(std::initializer_list<B>); in overloaded_call()
86 static_assert(sizeof(overloaded({1, 2, 3})) == sizeof(one), "bad overload"); in overloaded_call()
87 static_assert(sizeof(overloaded({ {1, 2}, {2, 3}, {} })) == sizeof(two), "bad overload"); in overloaded_call()
H A Denable_if.cpp49 void overloaded(int);
50 void overloaded(long);
98 overloaded(x); in test()
/llvm-project-15.0.7/clang/test/CodeCompletion/
H A Dtemplate-signature.cpp1 template <int, char y> float overloaded(int);
2 template <class, int x> bool overloaded(char);
4 auto m = overloaded<1, 2>(0);
H A Dmember-access.cpp284 S overloaded(int);
285 S overloaded(double);
288 overloaded(). in foo()
295 overloaded(t). in fooDependent()
/llvm-project-15.0.7/clang/test/CodeGenCUDA/
H A Dlambda.cu61 __device__ T overloaded() { return 1; } in overloaded() function
64 __host__ T overloaded() { return 2; } in overloaded() function
84 test_resolve_helper([](){ overloaded<int>();}); in test_resolve()
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/fuchsia/
H A Doverloaded-operator.rst1 .. title:: clang-tidy - fuchsia-overloaded-operator
3 fuchsia-overloaded-operator
6 Warns if an operator is overloaded, except for the assignment (copy and move)
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/cert/
H A Doop57-cpp.rst38 `OOP57-CPP. Prefer special member functions and overloaded operators to C
40 …uence/display/cplusplus/OOP57-CPP.+Prefer+special+member+functions+and+overloaded+operators+to+C+S…
/llvm-project-15.0.7/llvm/test/DebugInfo/PDB/
H A Dpdb-resolve-forward-refs.test50 ; CHECK: options: has unique name | overloaded operator, sizeof 1
62 ; CHECK: options: conversion operator | has unique name | overloaded operator, sizeof 1
74 ; CHECK: options: has unique name | overloaded operator | overloaded operator=, sizeof 1
H A Devery-type.test89 …XT: options: has ctor / dtor | has unique name | overloaded operator | overloaded opera…
146 …XT: options: has ctor / dtor | has unique name | overloaded operator | overloaded opera…
203 …XT: options: has ctor / dtor | has unique name | overloaded operator | overloaded opera…
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dsuspicious-memory-comparison.rst27 `OOP57-CPP. Prefer special member functions and overloaded operators to C Standard Library functions
28 …uence/display/cplusplus/OOP57-CPP.+Prefer+special+member+functions+and+overloaded+operators+to+C+S…
H A Dassignment-in-if-condition.rst11 an overloaded `operator=()`. The identified assignments violate
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/NativePDB/
H A DUdtRecordCompleter.cpp271 OverloadedMethodRecord &overloaded) { in visitKnownMember() argument
272 TypeIndex method_list_idx = overloaded.MethodList; in visitKnownMember()
282 AddMethod(overloaded.Name, method.Type, method.getAccess(), in visitKnownMember()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/ArmNeon/
H A DArmNeon.td56 // overloaded result.
62 // overloaded result and overloaded operands list.
/llvm-project-15.0.7/llvm/test/Assembler/
H A Dstruct-ret-without-upgrade.ll4 ; This is an overloaded struct return, we should not try to update it to an
/llvm-project-15.0.7/llvm/test/LTO/X86/
H A Dremangle_intrinsics.ll6 ; an overloaded intrinsic which has this type in its signature/name. When
/llvm-project-15.0.7/llvm/test/Bitcode/
H A Dupgrade-powi-intrinsics.ll6 ; now being an overloaded operand.
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/misc/
H A Dnew-delete-overloads.rst8 The check flags overloaded operator ``new()`` and operator ``delete()``
/llvm-project-15.0.7/llvm/test/CodeGen/MIR/AArch64/
H A Dprint-parse-overloaded-intrinsics.mir6 # specifically overloaded intrinsic names in this case which aren't required

1234