Made VSC work on Win64
This commit is contained in:
58
.vscode/launch.json
vendored
58
.vscode/launch.json
vendored
@@ -3,7 +3,7 @@
|
|||||||
"configurations":
|
"configurations":
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"name": "Run lxc",
|
"name": "Debug lxc [Linux]",
|
||||||
"type": "cppdbg",
|
"type": "cppdbg",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"program": "${workspaceRoot}/lxc",
|
"program": "${workspaceRoot}/lxc",
|
||||||
@@ -14,8 +14,44 @@
|
|||||||
"externalConsole": true,
|
"externalConsole": true,
|
||||||
|
|
||||||
"preLaunchTask": "build",
|
"preLaunchTask": "build",
|
||||||
|
"MIMode": "gdb",
|
||||||
|
|
||||||
"windows": { "MIMode": "cppvsdbg", },
|
"setupCommands":
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"description": "Enable pretty-printing for gdb",
|
||||||
|
"text": "-enable-pretty-printing",
|
||||||
|
"ignoreFailures": false
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"name": "Debug lxc [Win64]",
|
||||||
|
"type": "cppvsdbg",
|
||||||
|
"request": "launch",
|
||||||
|
"program": "${workspaceRoot}/lxc",
|
||||||
|
"args": [],
|
||||||
|
"stopAtEntry": false,
|
||||||
|
"cwd": "${workspaceFolder}",
|
||||||
|
"environment": [],
|
||||||
|
"externalConsole": true,
|
||||||
|
|
||||||
|
"preLaunchTask": "build"
|
||||||
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
"name": "Debug LXC_Tests [Linux]",
|
||||||
|
"type": "cppdbg",
|
||||||
|
"request": "launch",
|
||||||
|
"program": "${workspaceRoot}/LXC_Tests",
|
||||||
|
"args": [],
|
||||||
|
"stopAtEntry": false,
|
||||||
|
"cwd": "${workspaceFolder}",
|
||||||
|
"environment": [],
|
||||||
|
"externalConsole": true,
|
||||||
|
|
||||||
|
"preLaunchTask": "build",
|
||||||
"linux": { "MIMode": "gdb" },
|
"linux": { "MIMode": "gdb" },
|
||||||
|
|
||||||
"setupCommands":
|
"setupCommands":
|
||||||
@@ -29,8 +65,8 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
"name": "Run LXC_Tests",
|
"name": "Debug LXC_Tests [Win64]",
|
||||||
"type": "cppdbg",
|
"type": "cppvsdbg",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"program": "${workspaceRoot}/LXC_Tests",
|
"program": "${workspaceRoot}/LXC_Tests",
|
||||||
"args": [],
|
"args": [],
|
||||||
@@ -40,18 +76,6 @@
|
|||||||
"externalConsole": true,
|
"externalConsole": true,
|
||||||
|
|
||||||
"preLaunchTask": "build",
|
"preLaunchTask": "build",
|
||||||
|
},
|
||||||
"windows": { "MIMode": "cppvsdbg", },
|
|
||||||
"linux": { "MIMode": "gdb" },
|
|
||||||
|
|
||||||
"setupCommands":
|
|
||||||
[
|
|
||||||
{
|
|
||||||
"description": "Enable pretty-printing for gdb",
|
|
||||||
"text": "-enable-pretty-printing",
|
|
||||||
"ignoreFailures": false
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,6 +37,6 @@ namespace PashaBibko::LXC::AST
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
ReturnStatement::ReturnStatement(NodeValuePtr& value)
|
ReturnStatement::ReturnStatement(NodeValuePtr& value)
|
||||||
: Node(NodeType::ReturnVal), m_ReturnValue(std::move(m_ReturnValue))
|
: Node(NodeType::ReturnVal), m_ReturnValue(std::move(value))
|
||||||
{}
|
{}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user