1 //===--- Stack.h - Utilities for dealing with stack space -------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 ///
10 /// \file
11 /// Defines utilities for dealing with stack allocation and stack space.
12 ///
13 //===----------------------------------------------------------------------===//
14 
15 #ifndef LLVM_CLANG_BASIC_STACK_H
16 #define LLVM_CLANG_BASIC_STACK_H
17 
18 #include <cstddef>
19 
20 namespace clang {
21   /// The amount of stack space that Clang would like to be provided with.
22   /// If less than this much is available, we may be unable to reach our
23   /// template instantiation depth limit and other similar limits.
24   constexpr size_t DesiredStackSize = 8 << 20;
25 } // end namespace clang
26 
27 #endif // LLVM_CLANG_BASIC_STACK_H
28