forked from OSchip/llvm-project
[NFC][HLSL] Fix build error caused missing typo update.
setHLSLFnuctionAttributes to setHLSLFunctionAttributes. Differential Revision: https://reviews.llvm.org/D131240
This commit is contained in:
parent
6134629af0
commit
b2c9ff7273
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue