From b2c9ff727379992ef472e32620635b7e5d561d60 Mon Sep 17 00:00:00 2001 From: Xiang Li Date: Thu, 4 Aug 2022 23:05:46 -0700 Subject: [NFC][HLSL] Fix build error caused missing typo update. setHLSLFnuctionAttributes to setHLSLFunctionAttributes. Differential Revision: https://reviews.llvm.org/D131240 --- clang/lib/CodeGen/CodeGenModule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clang/lib/CodeGen/CodeGenModule.cpp') diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index d607cae0bc7e..b67655ebfca6 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -1680,7 +1680,7 @@ void CodeGenModule::SetLLVMFunctionAttributes(GlobalDecl GD, F->setCallingConv(static_cast(CallingConv)); if (getLangOpts().HLSL) { if (const FunctionDecl *FD = dyn_cast_or_null(GD.getDecl())) - getHLSLRuntime().setHLSLFnuctionAttributes(F, FD); + getHLSLRuntime().setHLSLFunctionAttributes(F, FD); } } -- cgit v1.2.3