summaryrefslogtreecommitdiff
path: root/run-clang-format.ps1
diff options
context:
space:
mode:
authorMalkierian <malkierian@gmail.com>2024-06-24 20:42:12 -0700
committerGitHub <noreply@github.com>2024-06-24 23:42:12 -0400
commit1f3ca038a82246818c72914107f0672d8c8ac9a5 (patch)
treec98e21e57797fc3a2ac4d503549ab1df0b50bbe5 /run-clang-format.ps1
parent791064e870bbad100a28a58bc8167c2a0707c7a7 (diff)
PowerShell clang fix (#714)
* Fixes script running in commandline mode by adding System.Net inclusion at the top. Also adds clang-format.exe to gitignore. * Change System.Net namespace to System.
Diffstat (limited to 'run-clang-format.ps1')
-rw-r--r--run-clang-format.ps11
1 files changed, 1 insertions, 0 deletions
diff --git a/run-clang-format.ps1 b/run-clang-format.ps1
index 38d4d1422..3de9fa4da 100644
--- a/run-clang-format.ps1
+++ b/run-clang-format.ps1
@@ -1,3 +1,4 @@
+Using Namespace System
$url = "https://github.com/llvm/llvm-project/releases/download/llvmorg-14.0.6/LLVM-14.0.6-win64.exe"
$llvmInstallerPath = ".\LLVM-14.0.6-win64.exe"
$clangFormatFilePath = ".\clang-format.exe"