[llvm] [SandboxIR] Add the ExtractElementInst class (PR #102706)

via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 9 18:18:36 PDT 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 535172317856e7ecfd26d77aaf4efa3277669df3 1b3e97582a12ec5ec360243edb3a9fc7ea6f790c --extensions cpp,h -- llvm/include/llvm/SandboxIR/SandboxIR.h llvm/lib/SandboxIR/SandboxIR.cpp llvm/unittests/SandboxIR/SandboxIRTest.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/include/llvm/SandboxIR/SandboxIR.h b/llvm/include/llvm/SandboxIR/SandboxIR.h
index 828f91e2a2..d587a0892a 100644
--- a/llvm/include/llvm/SandboxIR/SandboxIR.h
+++ b/llvm/include/llvm/SandboxIR/SandboxIR.h
@@ -771,8 +771,8 @@ public:
   }
 };
 
-class ExtractElementInst final :
-    public SingleLLVMInstructionImpl<llvm::ExtractElementInstr> {
+class ExtractElementInst final
+    : public SingleLLVMInstructionImpl<llvm::ExtractElementInstr> {
   /// Use Context::createExtractElementInst() instead.
   ExtractElementInst(llvm::Instruction *I, Context &Ctx)
       : SingleLLVMInstructionImpl(ClassID::ExtractElement,

``````````

</details>


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


More information about the llvm-commits mailing list