Removed unnecessary code
Also made console be cleared when a build process is done to make it look cleaner.
This commit is contained in:
2
.vscode/launch.json
vendored
2
.vscode/launch.json
vendored
@@ -37,7 +37,7 @@
|
|||||||
"cwd": "${workspaceFolder}",
|
"cwd": "${workspaceFolder}",
|
||||||
"environment": [],
|
"environment": [],
|
||||||
"console": "externalTerminal",
|
"console": "externalTerminal",
|
||||||
|
|
||||||
"preLaunchTask": "build"
|
"preLaunchTask": "build"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
13
.vscode/tasks.json
vendored
13
.vscode/tasks.json
vendored
@@ -3,12 +3,23 @@
|
|||||||
|
|
||||||
"tasks":
|
"tasks":
|
||||||
[
|
[
|
||||||
|
{
|
||||||
|
"label": "Clear console",
|
||||||
|
"type": "shell",
|
||||||
|
"group": "none",
|
||||||
|
|
||||||
|
"windows": { "command": "cls" },
|
||||||
|
"linux" : { "command": "clear" }
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"label": "build",
|
"label": "build",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "cmake --build build",
|
"command": "cmake --build build",
|
||||||
"group": "build",
|
"group": "build",
|
||||||
"problemMatcher": []
|
"problemMatcher": [],
|
||||||
|
|
||||||
|
"dependsOn": [ "Clear console" ]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -73,7 +73,5 @@ int main(int argc, char** argv)
|
|||||||
Util::Log("Function AST", functionsAST.Result());
|
Util::Log("Function AST", functionsAST.Result());
|
||||||
}
|
}
|
||||||
|
|
||||||
functionsAST.Result().~vector();
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ namespace PashaBibko::LXC::Parser
|
|||||||
os << ", ";
|
os << ", ";
|
||||||
}
|
}
|
||||||
|
|
||||||
os << ")";
|
os << ") [" << contents.size() << ']';
|
||||||
return os.str();
|
return os.str();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user