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";
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";
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits