Skip to content

Commit ce5fcc2

Browse files
committed
fix merge & clang-format
1 parent d66780c commit ce5fcc2

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -662,8 +662,8 @@ BuiltinTypeDeclBuilder::addHandleConstructorFromBinding() {
662662
.addParam("spaceNo", AST.UnsignedIntTy)
663663
.addParam("range", AST.IntTy)
664664
.addParam("index", AST.UnsignedIntTy)
665-
.callBuiltin("__builtin_hlsl_resource_handlefrombinding",
666-
HandleType, PH::Handle, PH::_0, PH::_1, PH::_2, PH::_3)
665+
.callBuiltin("__builtin_hlsl_resource_handlefrombinding", HandleType,
666+
PH::Handle, PH::_0, PH::_1, PH::_2, PH::_3)
667667
.assign(PH::Handle, PH::LastStmt)
668668
.finalize();
669669
}

clang/test/AST/HLSL/StructuredBuffers-AST.hlsl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,6 @@ RESOURCE<float> Buffer;
166166

167167
// Load method
168168

169-
// Load method
170-
171169
// CHECK-LOAD: CXXMethodDecl {{.*}} Load 'element_type (unsigned int)'
172170
// CHECK-LOAD-NEXT: ParmVarDecl {{.*}} Index 'unsigned int'
173171
// CHECK-LOAD-NEXT: CompoundStmt

0 commit comments

Comments
 (0)