Skip to content

Commit

Permalink
Change logical operator to lower case.
Browse files Browse the repository at this point in the history
  • Loading branch information
zufuliu committed Dec 31, 2018
1 parent 9017b83 commit c5f2b5e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions VS2017/LLVM/LLVM.Common.targets
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<CLToolExe Condition="$(UseClangCl)">$(ClangClExecutable)</CLToolExe>
<LinkToolExe Condition="$(UseLldLink)">$(LldLinkExecutable)</LinkToolExe>
<!-- TRACKER : error TRK0002: Failed to execute command. -->
<TrackFileAccess Condition="$(UseClangCl) OR $(UseLldLink)">false</TrackFileAccess>
<TrackFileAccess Condition="$(UseClangCl) or $(UseLldLink)">false</TrackFileAccess>
</PropertyGroup>

<ItemGroup>
Expand Down Expand Up @@ -57,12 +57,12 @@
-->
<Target Name="BeforeClCompile" BeforeTargets="ClCompile" Condition="$(UseClangCl)">
<!-- Error if they're trying to compile this file as managed code. -->
<Error Condition="('%(ClCompile.CompileAsManaged)' != 'false') AND ('%(ClCompile.CompileAsManaged)' != '')"
<Error Condition="('%(ClCompile.CompileAsManaged)' != 'false') and ('%(ClCompile.CompileAsManaged)' != '')"
File="@(ClCompile)(0,0)"
Text="clang-cl does not support compiling managed code (/clr). This file cannot be compiled."/>

<!-- Error if WinRT is being used. -->
<Error Condition="('%(ClCompile.CompileAsWinRT)' == 'true') OR ('%(ClCompile.WinRTNoStdLib)' == 'true')"
<Error Condition="('%(ClCompile.CompileAsWinRT)' == 'true') or ('%(ClCompile.WinRTNoStdLib)' == 'true')"
File="@(ClCompile)(0,0)"
Text="clang-cl does not support Windows Runtime Language Extensions (/ZW, /ZW:nostdlib). This file cannot be compiled."/>

Expand Down Expand Up @@ -123,7 +123,7 @@
<RemoveUnreferencedCodeData/>
<SupportJustMyCode/>
<!-- Ignore C++ Language Standard for C -->
<LanguageStandard Condition="('%(ClCompile.CompileAs)' == 'CompileAsC') OR ('%(ClCompile.CompileAs)' == 'Default' AND '%(ClCompile.Extension)' == '.c')"/>
<LanguageStandard Condition="('%(ClCompile.CompileAs)' == 'CompileAsC') or ('%(ClCompile.CompileAs)' == 'Default' and '%(ClCompile.Extension)' == '.c')"/>

<!-- We can't just unset BasicRuntimeChecks, as that will pass /RTCu to the compiler.
We have to explicitly set it to 'Default' to avoid passing anything. -->
Expand Down

0 comments on commit c5f2b5e

Please sign in to comment.