summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/SMTConstraintManager.cpp
diff options
context:
space:
mode:
authorMikhail R. Gadelha <mikhail.ramalho@gmail.com>2019-03-25 17:47:45 +0000
committerMikhail R. Gadelha <mikhail.ramalho@gmail.com>2019-03-25 17:47:45 +0000
commitdb695c834f2caa818637b4d81a3c08c9c9abfd05 (patch)
tree21742997947c5a9c1e589c3685703e02d6cd5573 /clang/lib/StaticAnalyzer/Core/SMTConstraintManager.cpp
parentfc67176eec7e603f786854850104cd750385393f (diff)
downloadbcm5719-llvm-db695c834f2caa818637b4d81a3c08c9c9abfd05.tar.gz
bcm5719-llvm-db695c834f2caa818637b4d81a3c08c9c9abfd05.zip
Moved everything SMT-related to LLVM and updated the cmake scripts.
Differential Revision: https://reviews.llvm.org/D54978 llvm-svn: 356929
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/SMTConstraintManager.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Core/SMTConstraintManager.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/SMTConstraintManager.cpp b/clang/lib/StaticAnalyzer/Core/SMTConstraintManager.cpp
new file mode 100644
index 00000000000..d5c14351d33
--- /dev/null
+++ b/clang/lib/StaticAnalyzer/Core/SMTConstraintManager.cpp
@@ -0,0 +1,18 @@
+//== SMTConstraintManager.cpp -----------------------------------*- C++ -*--==//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#include "clang/StaticAnalyzer/Core/PathSensitive/SMTConstraintManager.h"
+
+using namespace clang;
+using namespace ento;
+
+std::unique_ptr<ConstraintManager>
+ento::CreateZ3ConstraintManager(ProgramStateManager &StMgr, SubEngine *Eng) {
+ return llvm::make_unique<SMTConstraintManager>(Eng, StMgr.getSValBuilder());
+}
OpenPOWER on IntegriCloud