Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaldaien committed Dec 20, 2024
1 parent a68a68a commit 5e3e294
Show file tree
Hide file tree
Showing 26 changed files with 720 additions and 626 deletions.
47 changes: 47 additions & 0 deletions .PVS-Studio/MSBuildAnalyzerConfig.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"analysisArguments": [
{
"solutionName": "SpecialK.sln",
"arguments": {
"platform": "",
"configuration": ""
}
}
]
}


// Parameters description
//
// These parameters are similar to the arguments passed to the analyzer from the command line. More information can be found in the documentation: https://pvs-studio.ru/ru/docs/manual/0035/#IDE1BD96B458
//
// sourceFile - path to a plaintext file with a list of source files that will be analyzed.
//
// platform - project's build platform to analyze.
//
// configuration - project's build configuration to analyze.
//
// msBuildProperties - set or override the specified MSBuild project-level properties. Input example: [{"property": "WarningLevel", "value": "2"}, ....]
//
// excludeDefines - list of defines which will be excluded from analyzed projects (C# projects only).
//
// appendDefines - list of defines which will be appended to analyzed projects (C# projects only).
//
// selectProjects - allows to specify for analysis individual projects from analyzer's target.
//
// excludeProjects - allows to exclude from analysis individual projects from analyzer's target.
//
// rulesConfig - path to the diagnostics configuration file (.pvsconfig) or to the directory containing configuration files.
//
// dependencyRoot - an optional path to directory that will be used to store all dependency caches.
//
// dependencyCacheSourcesRoot - an optional path to directory that will be used as a root directory to generate relative paths in dependency caches. Input
// example: "SkipAnalysis"
//
// ignoreGlobalRulesConfig - disable loading global pvsconfig (located in %APPDATA%/PVS-Studio).
//
// useSuppressFiles - path to suppress file to use.
//
// regenerateDependencyCacheWithMode - regenerates compilation dependency information for each source file.
//
// intermodular - C++ intermodular mode performs deeper code analysis at the cost of a longer analysis time.
14 changes: 14 additions & 0 deletions .PVS-Studio/State/ReportState.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"json": [
{
"code": "",
"falseAlarm": false,
"level": 0,
"message": "No project files were found for analysis under the specified platform/configuration.",
"positions": [],
"favorite": false,
"projects": [],
"id": 0
}
]
}
22 changes: 22 additions & 0 deletions .PVS-Studio/State/WindowState.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"isDataChanged": false,
"filters": {
"code": "",
"sastId": "",
"message": "",
"files": "",
"level": [
0,
1,
2
],
"isColumnFiltersVisible": true,
"isLevelFiltersVisible": true,
"isGroupFiltersVisible": true,
"type": [
"General",
"Optimization"
]
},
"loadableProcessIds": []
}
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"files.associations": {
"unordered_map": "cpp"
}
}
Loading

0 comments on commit 5e3e294

Please sign in to comment.