mirror of
https://github.com/jorenchik/mdemory.git
synced 2026-03-22 00:26:21 +00:00
static analysis script
Removed some files
This commit is contained in:
@@ -1,4 +1,8 @@
|
|||||||
|
|
||||||
|
- iofhweio >
|
||||||
|
- foiew:
|
||||||
|
-^ ifoejwof
|
||||||
|
|
||||||
- iofhweio >
|
- iofhweio >
|
||||||
-foiew:
|
-foiew:
|
||||||
-^ ifoejwof
|
- ifoejwof
|
||||||
|
|||||||
@@ -1,4 +1,24 @@
|
|||||||
- [cap_riga] 1 What is the capital of Latvia? >
|
17.11.2024 17\:51
|
||||||
- Riga
|
|
||||||
- [cap_riga] 2 What is the capital of Latvia? >
|
- Mans secības jautājums? >
|
||||||
- Riga
|
-^ Pirmais el
|
||||||
|
-^ Otrais el
|
||||||
|
-^ Trešais el
|
||||||
|
|
||||||
|
- [10.50] Grupas jaut >
|
||||||
|
- Grupa X1:
|
||||||
|
- Grupa A:
|
||||||
|
- Elements 1
|
||||||
|
- Elements 2
|
||||||
|
|
||||||
|
- [2.12] Izvēles jaut >
|
||||||
|
+ Element A
|
||||||
|
+ Element B
|
||||||
|
|
||||||
|
- Mans jautājums >
|
||||||
|
-^ Mana atbilde
|
||||||
|
-^ Tas ir order jautājums \:))
|
||||||
|
|
||||||
|
- 1 What is the capital of Latvia? >
|
||||||
|
- Riga
|
||||||
|
|
||||||
12
run_clang_tidy_test.py
Normal file
12
run_clang_tidy_test.py
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
import os
|
||||||
|
import subprocess
|
||||||
|
|
||||||
|
directory = "src"
|
||||||
|
extensions = (".cpp", ".h")
|
||||||
|
|
||||||
|
for root, _, files in os.walk(directory):
|
||||||
|
for file in files:
|
||||||
|
if file.endswith(extensions):
|
||||||
|
filepath = os.path.join(root, file)
|
||||||
|
print("Analizē failu: ", filepath)
|
||||||
|
subprocess.run(["clang-tidy", filepath, "-p", "./Debug/src/transpiler", "-checks='clang-analyzer-*'"])
|
||||||
26
src/.vscode/launch.json
vendored
26
src/.vscode/launch.json
vendored
@@ -1,26 +0,0 @@
|
|||||||
{
|
|
||||||
// Use IntelliSense to learn about possible attributes.
|
|
||||||
// Hover to view descriptions of existing attributes.
|
|
||||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
||||||
"version": "0.2.0",
|
|
||||||
"configurations": [
|
|
||||||
{
|
|
||||||
"name": "Launch Package",
|
|
||||||
"type": "go",
|
|
||||||
"request": "launch",
|
|
||||||
"mode": "auto",
|
|
||||||
"program": "${fileDirname}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Debug with Build Flags",
|
|
||||||
"type": "go",
|
|
||||||
"request": "launch",
|
|
||||||
"mode": "debug",
|
|
||||||
"program": "${workspaceFolder}/mdemory-app-qt/main.go",
|
|
||||||
// "buildFlags": "-gcflags='all=-N -l'",
|
|
||||||
"args": [],
|
|
||||||
"env": {},
|
|
||||||
"cwd": "${workspaceFolder}"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -6,6 +6,7 @@ int initApp(int argc, char *argv[]) {
|
|||||||
auto *app = new QApplication(argc, argv);
|
auto *app = new QApplication(argc, argv);
|
||||||
initMdemListWindow();
|
initMdemListWindow();
|
||||||
app->exec();
|
app->exec();
|
||||||
|
delete app;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user