Home
last modified time | relevance | path

Searched defs:Callable (Results 1 – 19 of 19) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/ADT/
H A DScopeExitTest.cpp17 struct Callable { in TEST() struct
18 bool &Called; in TEST()
19 Callable(bool &Called) : Called(Called) {} in TEST() function
20 Callable(Callable &&RHS) : Called(RHS.Called) {} in TEST() argument
21 void operator()() { Called = true; } in TEST()
H A DIteratorTest.cpp282 struct Callable { in TEST() struct
283 int &Counter; in TEST()
285 Callable(int &Counter) : Counter(Counter) {} in TEST() function
287 bool operator()(int N) { in TEST()
/llvm-project-15.0.7/libc/utils/UnitTest/
H A DFPExceptMatcher.h33 struct Callable : public FunctionCaller { in getFunctionCaller() struct
34 Func f; in getFunctionCaller()
35 explicit Callable(Func theFunc) : f(theFunc) {} in getFunctionCaller() argument
36 void call() override { f(); } in getFunctionCaller()
H A DLibcTest.h127 struct Callable : public testutils::FunctionCaller { in createCallable() struct
128 Func f; in createCallable()
129 Callable(Func f) : f(f) {} in createCallable() function
130 void operator()() override { f(); } in createCallable()
/llvm-project-15.0.7/libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/
H A Drobust_against_adl.pass.cpp34 struct Callable { struct
51 std::function<void()> i(Callable<Holder<Incomplete>>{}); in main() argument
/llvm-project-15.0.7/clang/test/CXX/basic/basic.lookup/basic.lookup.argdep/
H A Dp4.cpp154 struct Callable { void operator()(S); }; struct
155 static struct Callable Callable; variable
/llvm-project-15.0.7/libcxx/test/std/algorithms/alg.nonmodifying/alg.foreach/
H A Dranges.for_each_n.pass.cpp25 struct Callable { struct
H A Dranges.for_each.pass.cpp28 struct Callable { struct
/llvm-project-15.0.7/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.h97 Callable, enumerator
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DAvoidBindCheck.cpp104 CallableInfo Callable; member
257 const CallableInfo &Callable) { in buildBindArguments()
462 const FunctionDecl *getCallOperator(const CXXRecordDecl *Callable, in getCallOperator()
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/
H A DJITSymbol.h86 Callable = 1U << 5, enumerator
/llvm-project-15.0.7/libcxx/test/std/utilities/variant/variant.visit/
H A Dvisit.pass.cpp382 struct Callable { in test_derived_from_variant() struct
383 bool operator()() const { assert(false); return false; } in test_derived_from_variant()
H A Dvisit_return_type.pass.cpp453 struct Callable { in test_derived_from_variant() struct
454 bool operator()() const { assert(false); return false; } in test_derived_from_variant()
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dconstexpr-string.cpp238 auto foldResult(const Callable &, MetaValue<N> *, in foldResult()
H A Doverloaded-operator.cpp163 struct Callable { struct
/llvm-project-15.0.7/llvm/include/llvm/ADT/
H A DTriple.h263 Callable, enumerator
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DLangOptions.h70 Callable, enumerator
/llvm-project-15.0.7/llvm/lib/ObjCopy/ELF/
H A DELFObject.cpp708 void SymbolTableSection::updateSymbols(function_ref<void(Symbol &)> Callable) { in updateSymbols()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DSimpleLoopUnswitch.cpp2025 void visitDomSubTree(DominatorTree &DT, BasicBlock *BB, CallableT Callable) { in visitDomSubTree()