summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Process.cpp
diff options
context:
space:
mode:
authorYaron Keren <yaron.keren@gmail.com>2014-03-25 08:42:49 +0000
committerYaron Keren <yaron.keren@gmail.com>2014-03-25 08:42:49 +0000
commit24fdbe567638d942fff6b1cf3df3cb4f5adf6823 (patch)
tree4988b79285d300e3e4a3fbdb92f92b9f59ea2740 /llvm/lib/Support/Process.cpp
parent273bff4713735f8a2324addf876d9b59e4243023 (diff)
downloadbcm5719-llvm-24fdbe567638d942fff6b1cf3df3cb4f5adf6823.tar.gz
bcm5719-llvm-24fdbe567638d942fff6b1cf3df3cb4f5adf6823.zip
Disable Visual C++ warning 4722 about aborting a destructor,
it has no value for us. llvm-svn: 204704
Diffstat (limited to 'llvm/lib/Support/Process.cpp')
-rw-r--r--llvm/lib/Support/Process.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/llvm/lib/Support/Process.cpp b/llvm/lib/Support/Process.cpp
index d5168f03a6d..0380ed955dd 100644
--- a/llvm/lib/Support/Process.cpp
+++ b/llvm/lib/Support/Process.cpp
@@ -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) {\
OpenPOWER on IntegriCloud