This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "Ninja Build (Swift)", | |
"type": "shell", | |
"command": "ninja", | |
"args": [ | |
"swift" | |
], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": "testFilter", | |
"type": "promptString", | |
"description": "Runs the specified lit tests." | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"label": "Run Test", | |
"type": "shell", | |
"command": "${LLVM_LIT_DIR}/lit.py", | |
"args": [ | |
"-sv", | |
"--param", | |
"swift_site_config=${SWIFT_BUILD_DIR}/test-macosx-x86_64/lit.site.cfg", | |
"${fileDirname}", | |
"--filter=${fileBasename}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"label": "Ninja Build (Swift)", | |
"type": "shell", | |
"command": "ninja", | |
"args": [ | |
"swift" | |
], | |
"options": { | |
"cwd": "${env:SWIFT_BUILD_DIR}" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"key": "<keyboard shortcut>", | |
"command": "workbench.action.tasks.runTask", | |
"args": "<task name>" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"label": "Format changes", | |
"type": "shell", | |
"command": "git", | |
"args": [ | |
"clang-format", | |
"master" | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "lldb", | |
"request": "launch", | |
"name": "Debug", | |
"program": "${env:SWIFT_BUILD_DIR}/bin/swift", | |
"args": ["${input:testFile}"], | |
"cwd": "${env:SWIFT_EXAMPLES_DIR}", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"compilerPath": "${workspaceFolder}/../build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/llvm-macosx-x86_64/bin/clang", | |
"cppStandard": "c++17", | |
"intelliSenseMode": "clang-x64" | |
// if you're on a mac | |
"macFrameworkPath": [ | |
"/System/Library/Frameworks", | |
"/Library/Frameworks" | |
], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"includePath": [ | |
// the include folder under your build directory | |
"${workspaceFolder}/../build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/swift-macosx-x86_64/include", | |
"${workspaceFolder}/../build/Ninja-RelWithDebInfoAssert+swift-DebugAssert/llvm-macosx-x86_64/include/**", | |
// the include folder for clang | |
"${workspaceFolder}/../clang/include", | |
// all the files in the project | |
"${workspaceFolder}/**", | |
// all files under the llvm include folder | |
"${workspaceFolder}/../llvm/include/**", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clang -cc1 version 8.0.0 based upon LLVM 8.0.0 default target x86_64-apple-darwin18.2.0 | |
ignoring nonexistent directory "/usr/include/c++/v1" | |
ignoring nonexistent directory "/usr/include" | |
#include "..." search starts here: | |
#include <...> search starts here: | |
/usr/local/opt/llvm/bin/../include/c++/v1 | |
/usr/local/include | |
/usr/local/Cellar/llvm/8.0.0/lib/clang/8.0.0/include | |
/System/Library/Frameworks (framework directory) | |
/Library/Frameworks (framework directory) |
NewerOlder