diff options
| author | Xiang Li <python3kgae@outlook.com> | 2022-08-04 23:05:46 -0700 |
|---|---|---|
| committer | Xiang Li <python3kgae@outlook.com> | 2022-08-04 23:20:25 -0700 |
| commit | b2c9ff727379992ef472e32620635b7e5d561d60 (patch) | |
| tree | 5476b602976db5703e37e0600723c726f4c32116 /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | 6134629af08705e1f495171221deb46f6ba3d65d (diff) | |
[NFC][HLSL] Fix build error caused missing typo update.
setHLSLFnuctionAttributes to setHLSLFunctionAttributes.
Differential Revision: https://reviews.llvm.org/D131240
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<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); } } |
