diff options
author | Martin Nowack <m.nowack@imperial.ac.uk> | 2023-03-27 15:21:51 +0100 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2023-04-06 16:03:03 +0300 |
commit | 81ff90b3fc4f38abea2ab9472924dcdf0d1f10fe (patch) | |
tree | 233c37c1339142a86089fc7ef2bedd2bd95456b3 /lib/Module/ModuleUtil.cpp | |
parent | 2769f1f4dc3515a8b5fc22ccf3e30b906faef75d (diff) | |
download | klee-81ff90b3fc4f38abea2ab9472924dcdf0d1f10fe.tar.gz |
Support disabling compiler warnings; Use with external headers
Diffstat (limited to 'lib/Module/ModuleUtil.cpp')
-rw-r--r-- | lib/Module/ModuleUtil.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Module/ModuleUtil.cpp b/lib/Module/ModuleUtil.cpp index 155b117f..76e580c5 100644 --- a/lib/Module/ModuleUtil.cpp +++ b/lib/Module/ModuleUtil.cpp @@ -13,6 +13,9 @@ #include "klee/Support/Debug.h" #include "klee/Support/ErrorHandling.h" +#include "klee/Support/CompilerWarning.h" +DISABLE_WARNING_PUSH +DISABLE_WARNING_DEPRECATED_DECLARATIONS #include "llvm/Analysis/ValueTracking.h" #include "llvm/BinaryFormat/Magic.h" #include "llvm/Bitcode/BitcodeReader.h" @@ -35,7 +38,7 @@ #include "llvm/Support/Path.h" #include "llvm/Support/raw_ostream.h" #include "llvm/Support/SourceMgr.h" - +DISABLE_WARNING_POP #include <algorithm> #include <fstream> |