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,h -- 
llvm/lib/Target/AVR/AVRTargetTransformInfo.h clang/lib/Basic/Targets/AVR.h 
llvm/lib/Target/AVR/AVRTargetMachine.cpp llvm/lib/Target/AVR/AVRTargetMachine.h
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Target/AVR/AVRTargetMachine.cpp 
b/llvm/lib/Target/AVR/AVRTargetMachine.cpp
index 8d05005e2..02212d215 100644
--- a/llvm/lib/Target/AVR/AVRTargetMachine.cpp
+++ b/llvm/lib/Target/AVR/AVRTargetMachine.cpp
@@ -19,8 +19,8 @@
 
 #include "AVR.h"
 #include "AVRMachineFunctionInfo.h"
-#include "AVRTargetTransformInfo.h"
 #include "AVRTargetObjectFile.h"
+#include "AVRTargetTransformInfo.h"
 #include "MCTargetDesc/AVRMCTargetDesc.h"
 #include "TargetInfo/AVRTargetInfo.h"
 
@@ -110,7 +110,8 @@ const AVRSubtarget 
*AVRTargetMachine::getSubtargetImpl(const Function &) const {
   return &SubTarget;
 }
 
-TargetTransformInfo AVRTargetMachine::getTargetTransformInfo(const Function 
&F) const {
+TargetTransformInfo
+AVRTargetMachine::getTargetTransformInfo(const Function &F) const {
   return TargetTransformInfo(std::make_unique<AVRTTIImpl>(this, F));
 }
 

``````````

</details>


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

Reply via email to