Windows testrunner: Add testexprengine.cpp (#2184)

Add export of executeAllFunctions() in exprengine.h
This commit is contained in:
Sebastian 2019-09-19 19:40:00 +02:00 committed by GitHub
parent 28e3e01ff8
commit bf55e835aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 1 deletions

View File

@ -21,6 +21,8 @@
#define exprengineH
//---------------------------------------------------------------------------
#include "config.h"
#include <functional>
#include <map>
#include <memory>
@ -209,7 +211,7 @@ namespace ExprEngine {
typedef std::function<void(const Token *, const ExprEngine::Value &)> Callback;
/** Execute all functions */
void executeAllFunctions(const Tokenizer *tokenizer, const Settings *settings, const std::vector<Callback> &callbacks);
void CPPCHECKLIB executeAllFunctions(const Tokenizer *tokenizer, const Settings *settings, const std::vector<Callback> &callbacks);
void executeFunction(const Scope *functionScope, const Tokenizer *tokenizer, const Settings *settings, const std::vector<Callback> &callbacks);
void runChecks(ErrorLogger *errorLogger, const Tokenizer *tokenizer, const Settings *settings);

View File

@ -45,6 +45,7 @@
<ClCompile Include="testcppcheck.cpp" />
<ClCompile Include="testerrorlogger.cpp" />
<ClCompile Include="testexceptionsafety.cpp" />
<ClCompile Include="testexprengine.cpp" />
<ClCompile Include="testfilelister.cpp" />
<ClCompile Include="testgarbage.cpp" />
<ClCompile Include="testimportproject.cpp" />

View File

@ -214,6 +214,9 @@
<ClCompile Include="testsimplifyusing.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="testexprengine.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="options.h">