github-actions[bot] wrote: <!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning: <details> <summary> You can test this locally with the following command: </summary> ``````````bash git-clang-format --diff bacb534e583ef439bcaf6627dab96945d43cdbf6 340834e9c1ea12c8de4ee9f5a6b7c0191e96f489 --extensions h,cpp -- clang/lib/CodeGen/CGHLSLRuntime.cpp clang/lib/CodeGen/CGHLSLRuntime.h clang/lib/CodeGen/CodeGenFunction.cpp llvm/lib/Target/DirectX/DXILMetadata.cpp llvm/lib/Target/DirectX/DXILMetadata.h llvm/lib/Target/DirectX/DXILTranslateMetadata.cpp `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/llvm/lib/Target/DirectX/DXILMetadata.cpp b/llvm/lib/Target/DirectX/DXILMetadata.cpp index cd554471b1..5ec56a2852 100644 --- a/llvm/lib/Target/DirectX/DXILMetadata.cpp +++ b/llvm/lib/Target/DirectX/DXILMetadata.cpp @@ -335,7 +335,7 @@ void dxil::createExportsMD(Module &M) { for (auto &F : M.functions()) { if (!F.hasFnAttribute("hlsl.export")) continue; - + Metadata *MDVals[2]; MDVals[0] = ValueAsMetadata::get(&F); MDVals[1] = MDString::get(Ctx, F.getName()); `````````` </details> https://github.com/llvm/llvm-project/pull/102275 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits