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 c,h,cpp -- 
clang/include/clang/CIR/Dialect/IR/CIRAttrs.h 
clang/include/clang/CIR/MissingFeatures.h 
clang/lib/CIR/CodeGen/CIRGenModule.cpp clang/lib/CIR/CodeGen/CIRGenModule.h 
clang/lib/CIR/Dialect/IR/CIRDialect.cpp 
clang/lib/CIR/Interfaces/CIROpInterfaces.cpp 
clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.cpp 
clang/test/CIR/CodeGen/array.cpp clang/test/CIR/CodeGen/namespace.cpp 
clang/test/CIR/CodeGen/string-literals.c clang/test/CIR/CodeGen/struct.c 
clang/test/CIR/CodeGen/struct.cpp clang/test/CIR/CodeGen/union.c 
clang/test/CIR/CodeGen/vector-ext.cpp clang/test/CIR/CodeGen/vector.cpp 
clang/test/CIR/Lowering/array.cpp clang/test/CIR/Lowering/global-var-simple.cpp 
clang/test/CIR/Lowering/hello.c clang/test/CIR/global-var-linkage.cpp 
clang/test/CIR/global-var-simple.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/lib/CIR/CodeGen/CIRGenModule.cpp 
b/clang/lib/CIR/CodeGen/CIRGenModule.cpp
index 7e9b98f0f..11c3bd4d7 100644
--- a/clang/lib/CIR/CodeGen/CIRGenModule.cpp
+++ b/clang/lib/CIR/CodeGen/CIRGenModule.cpp
@@ -1144,8 +1144,7 @@ static bool shouldAssumeDSOLocal(const CIRGenModule &cgm,
     // PLT indirection).
     if (!(isa<cir::FuncOp>(gv) && gv.canBenefitFromLocalAlias()))
       return false;
-    return !(lOpts.SemanticInterposition ||
-             lOpts.HalfNoSemanticInterposition);
+    return !(lOpts.SemanticInterposition || lOpts.HalfNoSemanticInterposition);
   }
 
   // A definition cannot be preempted from an executable.

``````````

</details>


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

Reply via email to