[clang] [HLSL] Add ByteAddressBuffer definition to HLSLExternalSemaSource #113477 (PR #116699)

via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 21 12:02:18 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 26a9f3f5906c62cff7f2245b98affa432b504a87 bd9d84f2f0f97e9f870de070dd14fd8827ac69d3 --extensions cpp -- clang/lib/AST/DeclBase.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 60f744af57..06107a015b 100644
--- a/clang/lib/Sema/HLSLExternalSemaSource.cpp
+++ b/clang/lib/Sema/HLSLExternalSemaSource.cpp
@@ -538,7 +538,7 @@ void HLSLExternalSemaSource::defineHLSLTypesWithForwardDeclarations() {
     setupBufferType(Decl, *SemaPtr, ResourceClass::SRV, ResourceKind::RawBuffer,
                     /*IsROV=*/false,
                     /*RawBuffer=*/true)
-    .completeDefinition();
+        .completeDefinition();
   });
 }
 

``````````

</details>


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


More information about the cfe-commits mailing list