Searched refs:RunSafely (Results 1 – 6 of 6) sorted by relevance
/external/llvm/include/llvm/Support/ |
D | CrashRecoveryContext.h | 77 bool RunSafely(function_ref<void()> Fn); 78 bool RunSafely(void (*Fn)(void*), void *UserData) { in RunSafely() function 79 return RunSafely([&]() { Fn(UserData); }); in RunSafely()
|
/external/llvm/lib/Support/ |
D | CrashRecoveryContext.cpp | 304 bool CrashRecoveryContext::RunSafely(function_ref<void()> Fn) { in RunSafely() function in CrashRecoveryContext 364 Info->Result = Info->CRC->RunSafely(Info->Fn); in RunSafelyOnThread_Dispatch()
|
/external/clang/tools/libclang/ |
D | CIndexer.h | 79 bool RunSafely(llvm::CrashRecoveryContext &CRC,
|
D | Indexing.cpp | 998 if (!RunSafely(CRC, clang_indexSourceFile_Impl, &ITUI)) { in clang_indexSourceFile() 1049 if (!RunSafely(CRC, clang_indexTranslationUnit_Impl, &ITUI)) { in clang_indexTranslationUnit()
|
D | CIndexCodeCompletion.cpp | 837 if (!RunSafely(CRC, clang_codeCompleteAt_Impl, &CCAI)) { in clang_codeCompleteAt()
|
D | CIndex.cpp | 3093 if (!RunSafely(CRC, clang_parseTranslationUnit_Impl, &PTUI)) { in clang_parseTranslationUnit2() 3183 if (!RunSafely(CRC, clang_saveTranslationUnit_Impl, &STUI)) { in clang_saveTranslationUnit() 3293 if (!RunSafely(CRC, clang_reparseTranslationUnit_Impl, &RTUI)) { in clang_reparseTranslationUnit() 6238 if (!RunSafely(CRC, clang_annotateTokensImpl, &data, in clang_annotateTokens() 7087 bool RunSafely(llvm::CrashRecoveryContext &CRC, in RunSafely() function 7094 return CRC.RunSafely(Fn, UserData); in RunSafely()
|