Skip to content

Commit a6abbe0

Browse files
authored
[test] Remove -emit-llvm from the and-errors.hlsl test to avoid writing to a potentially write-protected directory (#128047)
@mikaelholmen [mentioned](#127098 (comment)) that the `-emit-llvm` argument isn't necessary for the `and-errors.hlsl` test and may cause issues due to writing to the current (potentially write-protected) directory. This PR removes the `-emit-llvm` argument from clang in the RUN lines of the test.
1 parent 36fdeb2 commit a6abbe0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/test/SemaHLSL/BuiltIns/and-errors.hlsl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// RUN: %clang_cc1 -finclude-default-header -triple \
2-
// RUN: dxil-pc-shadermodel6.3-library %s \
3-
// RUN: -emit-llvm -O1 -verify
2+
// RUN: dxil-pc-shadermodel6.3-library %s -O1 -verify
43

54
bool test_too_few_arg(bool a) {
65
return __builtin_hlsl_and(a);

0 commit comments

Comments
 (0)