Home
last modified time | relevance | path

Searched refs:RunSafely (Results 1 – 6 of 6) sorted by relevance

/external/llvm/include/llvm/Support/
DCrashRecoveryContext.h77 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/
DCrashRecoveryContext.cpp304 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/
DCIndexer.h79 bool RunSafely(llvm::CrashRecoveryContext &CRC,
DIndexing.cpp998 if (!RunSafely(CRC, clang_indexSourceFile_Impl, &ITUI)) { in clang_indexSourceFile()
1049 if (!RunSafely(CRC, clang_indexTranslationUnit_Impl, &ITUI)) { in clang_indexTranslationUnit()
DCIndexCodeCompletion.cpp837 if (!RunSafely(CRC, clang_codeCompleteAt_Impl, &CCAI)) { in clang_codeCompleteAt()
DCIndex.cpp3093 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()