ΒΆinline void runWithSufficientStackSpace(
    llvm::function_ref<void()> Diag,
    llvm::function_ref<void()> Fn)

Description

Run a given function on a stack with "sufficient" space. If stack space is insufficient, calls Diag to emit a diagnostic before calling Fn.

Declared at: clang/include/clang/Basic/Stack.h:40

Parameters

llvm::function_ref<void()> Diag
llvm::function_ref<void()> Fn