Skip to content

Commit 372f792

Browse files
committed
Removed unneeded -verify-ignore-unexpected in the errors test. Removed the unneeded arguments in the builtin definition
1 parent 5af095f commit 372f792

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
@@ -4833,7 +4833,7 @@ def HLSLRadians : LangBuiltin<"HLSL_LANG"> {
48334833
def HLSLGroupMemoryBarrierWithGroupSync: LangBuiltin<"HLSL_LANG"> {
48344834
let Spellings = ["__builtin_hlsl_group_memory_barrier_with_group_sync"];
48354835
let Attributes = [NoThrow, Const];
4836-
let Prototype = "void(...)";
4836+
let Prototype = "void()";
48374837
}
48384838

48394839
// 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)