Skip to content

Commit

Permalink
Merge pull request #302 from microsoft/master
Browse files Browse the repository at this point in the history
Allow use of VS LLVM clang-format. (microsoft#13142)
  • Loading branch information
Jimmy-Hu authored Aug 26, 2020
2 parents c125d53 + 4a08a10 commit b926372
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/azure-pipelines/windows/Check-CxxFormatting.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@ Param(
$clangFormat = 'C:\Program Files\LLVM\bin\clang-format.exe'
if (-not (Test-Path $clangFormat))
{
Write-Error "clang-format not found; is it installed in the CI machines?"
throw
$clangFormat = 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\Llvm\x64\bin\clang-format.exe'
if (-not (Test-Path $clangFormat))
{
Write-Error 'clang-format not found; is it installed in the CI machines?'
throw
}
}

$toolsrc = Get-Item "$Root/toolsrc"
Expand Down

0 comments on commit b926372

Please sign in to comment.