Skip to content

Commit 6b004ce

Browse files
addressing comments
1 parent b98500d commit 6b004ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/Sema/HLSLExternalSemaSource.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ struct BuiltinTypeMethodBuilder {
556556
// create method decl
557557
auto *TSInfo = AST.getTrivialTypeSourceInfo(MethodTy, SourceLocation());
558558
Method = CXXMethodDecl::Create(
559-
AST, DeclBuilder.finalizeForwardDeclaration(), SourceLocation(),
559+
AST, DeclBuilder.Record, SourceLocation(),
560560
NameInfo, MethodTy, TSInfo, SC_None, false, false,
561561
ConstexprSpecKind::Unspecified, SourceLocation());
562562

0 commit comments

Comments
 (0)