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 HEAD~1 HEAD --extensions h,cpp -- 
clang/include/clang/AST/Decl.h clang/include/clang/Basic/LangOptions.h 
clang/lib/AST/Decl.cpp clang/lib/AST/TextNodeDumper.cpp 
clang/lib/CodeGen/CGHLSLRuntime.cpp clang/lib/Driver/ToolChains/Clang.cpp 
clang/lib/Driver/ToolChains/HLSL.cpp clang/lib/Frontend/CompilerInvocation.cpp 
clang/lib/Sema/SemaHLSL.cpp llvm/include/llvm/BinaryFormat/DXContainer.h
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/clang/lib/Driver/ToolChains/HLSL.cpp 
b/clang/lib/Driver/ToolChains/HLSL.cpp
index c1e4f599b..33850676a 100644
--- a/clang/lib/Driver/ToolChains/HLSL.cpp
+++ b/clang/lib/Driver/ToolChains/HLSL.cpp
@@ -296,7 +296,8 @@ HLSLToolChain::TranslateArgs(const DerivedArgList &Args, 
StringRef BoundArch,
       continue;
     }
     if (A->getOption().getID() == options::OPT_dxc_rootsig_ver) {
-      DAL->AddSeparateArg(nullptr, 
Opts.getOption(options::OPT_hlsl_rootsig_ver),
+      DAL->AddSeparateArg(nullptr,
+                          Opts.getOption(options::OPT_hlsl_rootsig_ver),
                           A->getValue());
       A->claim();
       continue;

``````````

</details>


https://github.com/llvm/llvm-project/pull/144813
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to