xref: /llvm-project/clang/lib/StaticAnalyzer/Core/SMTConstraintManager.cpp (revision c874dd53628db8170d4c5ba3878817abc385a695)
1db695c83SMikhail R. Gadelha //== SMTConstraintManager.cpp -----------------------------------*- C++ -*--==//
2db695c83SMikhail R. Gadelha //
3*c874dd53SChristopher Di Bella // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4*c874dd53SChristopher Di Bella // See https://llvm.org/LICENSE.txt for license information.
5*c874dd53SChristopher Di Bella // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6db695c83SMikhail R. Gadelha //
7db695c83SMikhail R. Gadelha //===----------------------------------------------------------------------===//
8db695c83SMikhail R. Gadelha 
9db695c83SMikhail R. Gadelha #include "clang/StaticAnalyzer/Core/PathSensitive/SMTConstraintManager.h"
10db695c83SMikhail R. Gadelha 
11db695c83SMikhail R. Gadelha using namespace clang;
12db695c83SMikhail R. Gadelha using namespace ento;
13db695c83SMikhail R. Gadelha 
14db695c83SMikhail R. Gadelha std::unique_ptr<ConstraintManager>
CreateZ3ConstraintManager(ProgramStateManager & StMgr,ExprEngine * Eng)15d70ec366SAdam Balogh ento::CreateZ3ConstraintManager(ProgramStateManager &StMgr, ExprEngine *Eng) {
162b3d49b6SJonas Devlieghere   return std::make_unique<SMTConstraintManager>(Eng, StMgr.getSValBuilder());
17db695c83SMikhail R. Gadelha }
18