Home
last modified time | relevance | path

Searched refs:Called (Results 1 – 19 of 19) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/ADT/
H A DScopeExitTest.cpp18 bool &Called; in TEST() member
19 Callable(bool &Called) : Called(Called) {} in TEST()
20 Callable(Callable &&RHS) : Called(RHS.Called) {} in TEST()
21 void operator()() { Called = true; } in TEST()
23 bool Called = false; in TEST() local
25 auto g = make_scope_exit(Callable(Called)); in TEST()
26 EXPECT_FALSE(Called); in TEST()
28 EXPECT_TRUE(Called); in TEST()
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/
H A DThreadCrashReporterTests.cpp39 bool Called; in TEST() local
41 ThreadCrashReporter ScopedReporter([&Called]() { Called = true; }); in TEST()
44 Called = false; in TEST()
46 EXPECT_TRUE(Called); in TEST()
49 Called = false; in TEST()
51 EXPECT_FALSE(Called); in TEST()
55 Called = false; in TEST()
57 EXPECT_FALSE(Called); in TEST()
/llvm-project-15.0.7/clang/unittests/ASTMatchers/
H A DASTMatchersInternalTest.cpp223 EXPECT_TRUE(Called); in run()
226 bool Called; member in clang::ast_matchers::VerifyStartOfTranslationUnit
236 EXPECT_TRUE(VerifyCallback.Called); in TEST()
238 VerifyCallback.Called = false; in TEST()
242 EXPECT_TRUE(VerifyCallback.Called); in TEST()
247 VerifyEndOfTranslationUnit() : Called(false) {} in VerifyEndOfTranslationUnit()
249 EXPECT_FALSE(Called); in run()
252 bool Called; member in clang::ast_matchers::VerifyEndOfTranslationUnit
262 EXPECT_TRUE(VerifyCallback.Called); in TEST()
264 VerifyCallback.Called = false; in TEST()
[all …]
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/bugprone/
H A Dlambda-function-name.rst15 [] { printf("Called from %s\n", __func__); }();
21 Called from operator()
26 Called from FancyFunction
/llvm-project-15.0.7/clang/test/Analysis/
H A DObjCRetSigs.m15 printf("Called MyBase -length;\n");
22 printf("Called MySub -length;\n");
/llvm-project-15.0.7/llvm/test/ThinLTO/X86/Inputs/
H A Ddeadstrip.ll6 ; Called from a @dead_func() in the other file, should not be imported there
13 ; Called via llvm.global_ctors, should be detected as live via the
/llvm-project-15.0.7/lldb/test/API/lang/objc/objc-stepping/
H A Dstepping-tests.m22 printf ("Called in SourceBase version of randomMethod.\n"); // SourceBase randomMethod start line.
57 printf ("Called in Source version of random method.");
62 printf ("Called in Source version of returnsStruct.\n"); // Source returnsStruct start line.
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DMachineRegisterInfo.cpp561 const Function *Called = getCalledFunction(MI); in isNoReturnDef() local
562 return !(Called == nullptr || !Called->hasFnAttribute(Attribute::NoReturn) || in isNoReturnDef()
563 !Called->hasFnAttribute(Attribute::NoUnwind)); in isNoReturnDef()
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dpropagate-flat-work-group-size.ll6 ; Called from a single kernel with 1,256
25 ; Called from a single kernel with 64,128
50 ; Called from kernels with 128,512 and 512,512
110 ; Called from kernels with 128,256 and 64,128 => 64,256
/llvm-project-15.0.7/clang/test/Analysis/diagnostics/Inputs/expected-sarif/
H A Dsarif-multi-diagnostic-test.c.sarif136 "text": "Called function pointer is an uninitialized pointer value"
172 "text": "Called function pointer is an uninitialized pointer value"
/llvm-project-15.0.7/clang/docs/
H A DSanitizerCoverage.rst290 // Called before a comparison instruction.
297 // Called before a comparison instruction if exactly one of the arguments is constant.
305 // Called before a switch statement.
312 // Called before a division statement.
317 // Called before a GetElemementPtr (GEP) instruction
321 // Called before a load of appropriate size. Addr is the address of the load.
327 // Called before a store of appropriate size. Addr is the address of the store.
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DMLInlineAdvisor.cpp114 auto *Called = CS->getCalledFunction(); in MLInlineAdvisor() local
115 auto Pos = FunctionLevels.find(&CG.get(*Called)); in MLInlineAdvisor()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCalledOnceCheck.cpp925 ParameterStatus Called(ParameterStatus::DefinitelyCalled, Call); in processCallFor() local
926 CurrentParamStatus = Called; in processCallFor()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc15 // Called in prehook for regions that will be read by the kernel and
18 // Called in prehook for regions that will be written to by the kernel
22 // Called in posthook for regions that were read by the kernel. Does
25 // Called in posthook for regions that were written to by the kernel
32 // Called before closing file descriptor fd.
38 // Called before fork syscall.
40 // Called after fork syscall.
H A Dsanitizer_syscalls_netbsd.inc15 // Called in prehook for regions that will be read by the kernel and
18 // Called in prehook for regions that will be written to by the kernel
22 // Called in posthook for regions that were read by the kernel. Does
25 // Called in posthook for regions that were written to by the kernel
32 // Called before closing file descriptor fd.
38 // Called before fork syscall.
40 // Called after fork syscall.
/llvm-project-15.0.7/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCTrampolineHandler.cpp124 printf ("\n*** Called with obj: %p sel: %p is_str_ptr: %d "
/llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/
H A DREADME.md274 …pass 9/211 = (0.7611) (0.0000) [Called Value Propagation on module (c:\dexter\tests\fibonacci\te…
/llvm-project-15.0.7/libcxx/docs/DesignDocs/
H A DFileTimeType.rst113 // Called elsewhere to set the file time to something insane, and way
/llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/
H A DMachProcess.mm2197 // Called by the exception thread when an exception has been received from
4073 "Called BKSCallOpenApplicationFunction to send event.");
4085 "Called FBSCallOpenApplicationFunction to send event.");