mirror of
https://github.com/intel/llvm.git
synced 2026-02-04 11:38:04 +08:00
Disable MSVC warning about runtime stack overflow for DebugOverflowStack.
llvm-svn: 132059
This commit is contained in:
@@ -824,9 +824,17 @@ struct PragmaDebugHandler : public PragmaHandler {
|
||||
}
|
||||
}
|
||||
|
||||
// Disable MSVC warning about runtime stack overflow.
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable : 4717)
|
||||
#endif
|
||||
void DebugOverflowStack() {
|
||||
DebugOverflowStack();
|
||||
}
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(default : 4717)
|
||||
#endif
|
||||
|
||||
};
|
||||
|
||||
/// PragmaDiagnosticHandler - e.g. '#pragma GCC diagnostic ignored "-Wformat"'
|
||||
|
||||
Reference in New Issue
Block a user