Fixed travis build by replacing Token::Match by simpleMatch()
Added missing files to cppcheck.vcxproj.filters
This commit is contained in:
parent
8a3fb4dd6c
commit
7c0aa4464c
|
@ -152,6 +152,9 @@
|
||||||
<ClCompile Include="pathmatch.cpp">
|
<ClCompile Include="pathmatch.cpp">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="analyzerinfo.cpp">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="checkbufferoverrun.h">
|
<ClInclude Include="checkbufferoverrun.h">
|
||||||
|
@ -304,6 +307,9 @@
|
||||||
<ClInclude Include="pathmatch.h">
|
<ClInclude Include="pathmatch.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="analyzerinfo.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ResourceCompile Include="version.rc" />
|
<ResourceCompile Include="version.rc" />
|
||||||
|
|
|
@ -454,7 +454,7 @@ void SymbolDatabase::createSymbolDatabaseFindAllScopes()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Function template
|
// Function template
|
||||||
else if (tok2->str() == ">" && tok2->link() && Token::Match(tok2->link()->previous(), "template <"))
|
else if (tok2->link() && tok2->str() == ">" && Token::simpleMatch(tok2->link()->previous(), "template <"))
|
||||||
break;
|
break;
|
||||||
|
|
||||||
tok1 = tok2;
|
tok1 = tok2;
|
||||||
|
|
Loading…
Reference in New Issue