[llvm-branch-commits] [clang] [HLSL] Add RWBuffer::Load(Index) (PR #117018)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Nov 20 10:01:46 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 a4e932c29bddb78bd287cabca2e9ea0da6c96337 8c9d382ae6d3c6e2dc8a0d738a97f3b3d14d5413 --extensions cpp -- clang/lib/Sema/HLSLExternalSemaSource.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/Sema/HLSLExternalSemaSource.cpp b/clang/lib/Sema/HLSLExternalSemaSource.cpp
index ae026e369e..1d954260ed 100644
--- a/clang/lib/Sema/HLSLExternalSemaSource.cpp
+++ b/clang/lib/Sema/HLSLExternalSemaSource.cpp
@@ -202,8 +202,7 @@ struct BuiltinTypeDeclBuilder {
return *this;
ASTContext &AST = Record->getASTContext();
- IdentifierInfo &II =
- AST.Idents.get("Load", tok::TokenKind::identifier);
+ IdentifierInfo &II = AST.Idents.get("Load", tok::TokenKind::identifier);
DeclarationName Load(&II);
addHandleAccessFunction(S, Load, /*IsConst=*/false, /*IsRef=*/false);
``````````
</details>
https://github.com/llvm/llvm-project/pull/117018
More information about the llvm-branch-commits
mailing list