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

Xiang Li via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 4 23:16:27 PDT 2022


python3kgae created this revision.
python3kgae added a reviewer: beanz.
Herald added a subscriber: Anastasia.
Herald added a project: All.
python3kgae requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

setHLSLFnuctionAttributes to setHLSLFunctionAttributes.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D131240

Files:
  clang/lib/CodeGen/CodeGenModule.cpp


Index: clang/lib/CodeGen/CodeGenModule.cpp
===================================================================
--- clang/lib/CodeGen/CodeGenModule.cpp
+++ clang/lib/CodeGen/CodeGenModule.cpp
@@ -1680,7 +1680,7 @@
   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);
   }
 }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131240.450236.patch
Type: text/x-patch
Size: 519 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220805/e378d4e5/attachment.bin>


More information about the cfe-commits mailing list