9#ifndef LLVM_CLANG_TOOLS_EXTRA_CLANGD_SUPPORT_THREADCRASHREPORTER_H
10#define LLVM_CLANG_TOOLS_EXTRA_CLANGD_SUPPORT_THREADCRASHREPORTER_H
12#include "llvm/ADT/FunctionExtras.h"
static void runCrashHandlers()
Calls all currently-active ThreadCrashReporters for the current thread.
ThreadCrashReporter(ThreadCrashReporter &&RHS)=delete
Moves are disabled to ease nesting and escaping considerations.
ThreadCrashReporter & operator=(ThreadCrashReporter &&)=delete
ThreadCrashReporter(SignalCallback ThreadLocalCallback)
Registers the callback as the first one in thread-local callback chain.
ThreadCrashReporter & operator=(const ThreadCrashReporter &)=delete
ThreadCrashReporter(const ThreadCrashReporter &)=delete
llvm::unique_function< void(void)> SignalCallback
~ThreadCrashReporter()
Resets the current thread's callback to nullptr.
FIXME: Skip testing on windows temporarily due to the different escaping code mode.
===– Representation.cpp - ClangDoc Representation --------—*- C++ -*-===//