[NFC][HLSL] Fix build error caused missing typo update.

setHLSLFnuctionAttributes to setHLSLFunctionAttributes.

Differential Revision: https://reviews.llvm.org/D131240
This commit is contained in:
Xiang Li 2022-08-04 23:05:46 -07:00
parent 6134629af0
commit b2c9ff7273
1 changed files with 1 additions and 1 deletions

View File

@ -1680,7 +1680,7 @@ void CodeGenModule::SetLLVMFunctionAttributes(GlobalDecl GD,
F->setCallingConv(static_cast<llvm::CallingConv::ID>(CallingConv));
if (getLangOpts().HLSL) {
if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(GD.getDecl()))
getHLSLRuntime().setHLSLFnuctionAttributes(F, FD);
getHLSLRuntime().setHLSLFunctionAttributes(F, FD);
}
}