diff --git a/lib/cppcheck.vcxproj.filters b/lib/cppcheck.vcxproj.filters index 09feb4a87..1b465925e 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 + diff --git a/lib/infer.h b/lib/infer.h index 44e0f713b..02ed2255e 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 78b36b4bb..b974435fe 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,