Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions lib/cppcheck.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@
<ClCompile Include="color.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="infer.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="checkbufferoverrun.h">
Expand Down Expand Up @@ -373,6 +376,9 @@
<ClInclude Include="color.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="infer.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="version.rc" />
Expand Down
2 changes: 1 addition & 1 deletion lib/infer.h
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ std::vector<ValueFlow::Value> infer(const ValuePtr<InferModel>& model,
std::list<ValueFlow::Value> lhsValues,
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::string toString(const Interval& i);
Expand Down
2 changes: 1 addition & 1 deletion lib/valueflow.h
Original file line number Diff line number Diff line change
Expand Up @@ -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(const std::string& op, const Token* varTok, MathLib::bigint val);

ValuePtr<InferModel> makeIntegralInferModel();
CPPCHECKLIB ValuePtr<InferModel> makeIntegralInferModel();

std::vector<LifetimeToken> getLifetimeTokens(const Token* tok,
bool escape = false,
Expand Down