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 cpp -- 
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp 
b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
index 2c523b58d..8b2ffb6cb 100644
--- a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
+++ b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
@@ -820,13 +820,13 @@ getGlobalObjectInfo(const GlobalObject *GO, const 
TargetMachine &TM,
   unsigned Type, EntrySize;
   if (MDNode *MD = GO->getMetadata(LLVMContext::MD_elf_section_properties)) {
     Type = cast<ConstantAsMetadata>(MD->getOperand(0))
-        ->getValue()
-        ->getUniqueInteger()
-        .getZExtValue();
+               ->getValue()
+               ->getUniqueInteger()
+               .getZExtValue();
     EntrySize = cast<ConstantAsMetadata>(MD->getOperand(1))
-        ->getValue()
-        ->getUniqueInteger()
-        .getZExtValue();
+                    ->getValue()
+                    ->getUniqueInteger()
+                    .getZExtValue();
   } else {
     Type = getELFSectionType(SectionName, Kind);
     EntrySize = getEntrySizeForKind(Kind);

``````````

</details>


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

Reply via email to