[clang] [llvm] [HLSL] Root Signature Parser (PR #120811)

via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 20 16:42:40 PST 2024


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 3769fcb3e78eba5f3e34d1c2dfa994625edb005a 75f9b4d8deaa5bc4f9b8c07ae79f8539f43c0304 --extensions h,cpp -- clang/include/clang/Sema/ParseHLSLRootSignature.h clang/lib/Sema/ParseHLSLRootSignature.cpp clang/unittests/Sema/ParseHLSLRootSignatureTest.cpp llvm/include/llvm/Frontend/HLSL/HLSLRootSignature.h
``````````

</details>

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

``````````diff
diff --git a/clang/lib/Sema/ParseHLSLRootSignature.cpp b/clang/lib/Sema/ParseHLSLRootSignature.cpp
index 36f5873e11..c7775c6717 100644
--- a/clang/lib/Sema/ParseHLSLRootSignature.cpp
+++ b/clang/lib/Sema/ParseHLSLRootSignature.cpp
@@ -7,7 +7,6 @@ namespace root_signature {
 // TODO: Hook up with Sema to properly report semantic/validation errors
 bool Parser::ReportError() { return true; }
 
-
 bool Parser::ParseDescriptorTable() {
   // Init table which will be updated as we add clauses
   Elements->push_back(RootElement(DescriptorTable()));

``````````

</details>


https://github.com/llvm/llvm-project/pull/120811


More information about the cfe-commits mailing list