From 10017eca90d415b9b71b020a45bc52f0ca34812f Mon Sep 17 00:00:00 2001 From: chrchr Date: Tue, 4 Jan 2022 11:50:17 +0100 Subject: [PATCH 1/2] Export missing functions --- lib/infer.h | 2 +- lib/valueflow.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/infer.h b/lib/infer.h index 44e0f713b57..02ed2255eb0 100644 --- a/lib/infer.h +++ b/lib/infer.h @@ -47,7 +47,7 @@ std::vector infer(const ValuePtr& model, std::list lhsValues, MathLib::bigint rhs); -std::vector getMinValue(const ValuePtr& model, const std::list& values); +CPPCHECKLIB std::vector getMinValue(const ValuePtr& model, const std::list& values); std::vector getMaxValue(const ValuePtr& model, const std::list& values); std::string toString(const Interval& i); diff --git a/lib/valueflow.h b/lib/valueflow.h index 78b36b4bb4d..b974435fe05 100644 --- a/lib/valueflow.h +++ b/lib/valueflow.h @@ -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 makeIntegralInferModel(); +CPPCHECKLIB ValuePtr makeIntegralInferModel(); std::vector getLifetimeTokens(const Token* tok, bool escape = false, From 7e845318509ca39320f2094ef1a62dae15e61eea Mon Sep 17 00:00:00 2001 From: chrchr Date: Tue, 4 Jan 2022 11:50:43 +0100 Subject: [PATCH 2/2] Sort files --- lib/cppcheck.vcxproj.filters | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/cppcheck.vcxproj.filters b/lib/cppcheck.vcxproj.filters index 09feb4a87c6..1b465925e7d 100644 --- a/lib/cppcheck.vcxproj.filters +++ b/lib/cppcheck.vcxproj.filters @@ -191,6 +191,9 @@ Source Files + + Source Files + @@ -373,6 +376,9 @@ Header Files + + Header Files +