Skip to content

Commit b2c9ff7

Browse files
committed
[NFC][HLSL] Fix build error caused missing typo update.
setHLSLFnuctionAttributes to setHLSLFunctionAttributes. Differential Revision: https://reviews.llvm.org/D131240
1 parent 6134629 commit b2c9ff7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/lib/CodeGen/CodeGenModule.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1680,7 +1680,7 @@ void CodeGenModule::SetLLVMFunctionAttributes(GlobalDecl GD,
16801680
F->setCallingConv(static_cast<llvm::CallingConv::ID>(CallingConv));
16811681
if (getLangOpts().HLSL) {
16821682
if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(GD.getDecl()))
1683-
getHLSLRuntime().setHLSLFnuctionAttributes(F, FD);
1683+
getHLSLRuntime().setHLSLFunctionAttributes(F, FD);
16841684
}
16851685
}
16861686

0 commit comments

Comments
 (0)