Fix MSVC build (#3671)
This commit is contained in:
parent
8502584dc1
commit
184ef4e739
|
@ -191,6 +191,9 @@
|
||||||
<ClCompile Include="color.cpp">
|
<ClCompile Include="color.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="infer.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="checkbufferoverrun.h">
|
<ClInclude Include="checkbufferoverrun.h">
|
||||||
|
@ -373,6 +376,9 @@
|
||||||
<ClInclude Include="color.h">
|
<ClInclude Include="color.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="infer.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ResourceCompile Include="version.rc" />
|
<ResourceCompile Include="version.rc" />
|
||||||
|
|
|
@ -47,7 +47,7 @@ std::vector<ValueFlow::Value> infer(const ValuePtr<InferModel>& model,
|
||||||
std::list<ValueFlow::Value> lhsValues,
|
std::list<ValueFlow::Value> lhsValues,
|
||||||
MathLib::bigint rhs);
|
MathLib::bigint rhs);
|
||||||
|
|
||||||
std::vector<MathLib::bigint> getMinValue(const ValuePtr<InferModel>& model, const std::list<ValueFlow::Value>& values);
|
CPPCHECKLIB std::vector<MathLib::bigint> getMinValue(const ValuePtr<InferModel>& model, const std::list<ValueFlow::Value>& values);
|
||||||
std::vector<MathLib::bigint> getMaxValue(const ValuePtr<InferModel>& model, const std::list<ValueFlow::Value>& values);
|
std::vector<MathLib::bigint> getMaxValue(const ValuePtr<InferModel>& model, const std::list<ValueFlow::Value>& values);
|
||||||
|
|
||||||
std::string toString(const Interval& i);
|
std::string toString(const Interval& i);
|
||||||
|
|
|
@ -493,7 +493,7 @@ const Token *parseCompareInt(const Token *tok, ValueFlow::Value &true_value, Val
|
||||||
ValueFlow::Value inferCondition(std::string op, MathLib::bigint val, const Token* varTok);
|
ValueFlow::Value inferCondition(std::string op, MathLib::bigint val, const Token* varTok);
|
||||||
ValueFlow::Value inferCondition(const std::string& op, const Token* varTok, MathLib::bigint val);
|
ValueFlow::Value inferCondition(const std::string& op, const Token* varTok, MathLib::bigint val);
|
||||||
|
|
||||||
ValuePtr<InferModel> makeIntegralInferModel();
|
CPPCHECKLIB ValuePtr<InferModel> makeIntegralInferModel();
|
||||||
|
|
||||||
std::vector<LifetimeToken> getLifetimeTokens(const Token* tok,
|
std::vector<LifetimeToken> getLifetimeTokens(const Token* tok,
|
||||||
bool escape = false,
|
bool escape = false,
|
||||||
|
|
Loading…
Reference in New Issue