Disable Visual C++ warning 4722 about aborting a destructor,

it has no value for us.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204704 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Yaron Keren
2014-03-25 08:42:49 +00:00
parent 4fd5cd06c8
commit d8ceb275c2
3 changed files with 2 additions and 34 deletions
-13
View File
@@ -34,14 +34,6 @@ self_process *process::get_self() {
return SP;
}
#if defined(_MSC_VER)
// Visual Studio complains that the self_process destructor never exits. This
// doesn't make much sense, as that's the whole point of calling abort... Just
// silence this warning.
#pragma warning(push)
#pragma warning(disable:4722)
#endif
// The destructor for the self_process subclass must never actually be
// executed. There should be at most one instance of this class, and that
// instance should live until the process terminates to avoid the potential for
@@ -75,11 +67,6 @@ TimeValue self_process::get_wall_time() const {
}
#if defined(_MSC_VER)
#pragma warning(pop)
#endif
#define COLOR(FGBG, CODE, BOLD) "\033[0;" BOLD FGBG CODE "m"
#define ALLCOLORS(FGBG,BOLD) {\