Skip to content

Commit 62d1256

Browse files
committed
Removed unneeded -verify-ignore-unexpected in the errors test. Removed the unneeded arguments in the builtin definition
1 parent d07949b commit 62d1256

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clang/include/clang/Basic/Builtins.td

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4927,7 +4927,7 @@ def HLSLClip: LangBuiltin<"HLSL_LANG"> {
49274927
def HLSLGroupMemoryBarrierWithGroupSync: LangBuiltin<"HLSL_LANG"> {
49284928
let Spellings = ["__builtin_hlsl_group_memory_barrier_with_group_sync"];
49294929
let Attributes = [NoThrow, Const];
4930-
let Prototype = "void(...)";
4930+
let Prototype = "void()";
49314931
}
49324932

49334933
// Builtins for XRay.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.6-library %s -emit-llvm-only -disable-llvm-passes -verify -verify-ignore-unexpected
1+
// RUN: %clang_cc1 -finclude-default-header -triple dxil-pc-shadermodel6.6-library %s -emit-llvm-only -disable-llvm-passes -verify
22

33
void test_too_many_arg() {
44
__builtin_hlsl_group_memory_barrier_with_group_sync(0);

0 commit comments

Comments
 (0)