[PATCH] D131238: [NFC][HLSL] Fix typo in CGHLSLRuntime.
Xiang Li via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 4 23:06:34 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.
Change setHLSLFnuctionAttributes to setHLSLFunctionAttributes.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D131238
Files:
clang/lib/CodeGen/CGHLSLRuntime.cpp
clang/lib/CodeGen/CGHLSLRuntime.h
Index: clang/lib/CodeGen/CGHLSLRuntime.h
===================================================================
--- clang/lib/CodeGen/CGHLSLRuntime.h
+++ clang/lib/CodeGen/CGHLSLRuntime.h
@@ -47,7 +47,7 @@
void finishCodeGen();
- void setHLSLFnuctionAttributes(llvm::Function *, const FunctionDecl *);
+ void setHLSLFunctionAttributes(llvm::Function *, const FunctionDecl *);
};
} // namespace CodeGen
Index: clang/lib/CodeGen/CGHLSLRuntime.cpp
===================================================================
--- clang/lib/CodeGen/CGHLSLRuntime.cpp
+++ clang/lib/CodeGen/CGHLSLRuntime.cpp
@@ -87,7 +87,7 @@
ConstantAsMetadata::get(B.getInt32(Counter))}));
}
-void clang::CodeGen::CGHLSLRuntime::setHLSLFnuctionAttributes(
+void clang::CodeGen::CGHLSLRuntime::setHLSLFunctionAttributes(
llvm::Function *F, const FunctionDecl *FD) {
if (HLSLShaderAttr *ShaderAttr = FD->getAttr<HLSLShaderAttr>()) {
const StringRef ShaderAttrKindStr = "dx.shader";
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131238.450231.patch
Type: text/x-patch
Size: 989 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220805/8bfe97c2/attachment.bin>
More information about the cfe-commits
mailing list