Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Support/
DCrashRecoveryContext.h80 bool RunSafely(function_ref<void()> Fn);
81 bool RunSafely(void (*Fn)(void*), void *UserData) { in RunSafely() function
82 return RunSafely([&]() { Fn(UserData); }); in RunSafely()
/external/llvm/lib/Support/
DCrashRecoveryContext.cpp306 bool CrashRecoveryContext::RunSafely(function_ref<void()> Fn) { in RunSafely() function in CrashRecoveryContext
366 Info->Result = Info->CRC->RunSafely(Info->Fn); in RunSafelyOnThread_Dispatch()
/external/clang/tools/libclang/
DCIndexer.h79 bool RunSafely(llvm::CrashRecoveryContext &CRC,
DIndexing.cpp1004 if (!RunSafely(CRC, clang_indexSourceFile_Impl, &ITUI)) { in clang_indexSourceFile()
1055 if (!RunSafely(CRC, clang_indexTranslationUnit_Impl, &ITUI)) { in clang_indexTranslationUnit()
DCIndexCodeCompletion.cpp836 if (!RunSafely(CRC, clang_codeCompleteAt_Impl, &CCAI)) { in clang_codeCompleteAt()
DCIndex.cpp2918 if (!RunSafely(CRC, clang_parseTranslationUnit_Impl, &PTUI)) { in clang_parseTranslationUnit2()
3008 if (!RunSafely(CRC, clang_saveTranslationUnit_Impl, &STUI)) { in clang_saveTranslationUnit()
3118 if (!RunSafely(CRC, clang_reparseTranslationUnit_Impl, &RTUI)) { in clang_reparseTranslationUnit()
5977 if (!RunSafely(CRC, clang_annotateTokensImpl, &data, in clang_annotateTokens()
6796 bool RunSafely(llvm::CrashRecoveryContext &CRC, in RunSafely() function
6803 return CRC.RunSafely(Fn, UserData); in RunSafely()