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 8c4546f350fbce938d8fbc85d9e353d011f3f673 
2576857fe4b5c0b99c1a29c07f92c80498687665 -- clang/lib/CodeGen/CodeGenModule.cpp 
clang/lib/CodeGen/CodeGenModule.h clang/test/CodeGen/attr-target-version.c 
clang/test/CodeGenCXX/attr-target-version.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp 
b/clang/lib/CodeGen/CodeGenModule.cpp
index ae47e4f1f1..01ba6f4e4d 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -4128,7 +4128,7 @@ void CodeGenModule::emitMultiVersionFunctions() {
             } else {
               const auto *TVA = CurFD->getAttr<TargetVersionAttr>();
               if (CurFD->isUsed() || (TVA->isDefaultVersion() &&
-                  CurFD->doesThisDeclarationHaveABody()))
+                                      CurFD->doesThisDeclarationHaveABody()))
                 EmitResolver = true;
               llvm::SmallVector<StringRef, 8> Feats;
               TVA->getFeatures(Feats);

``````````

</details>


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

Reply via email to