[clang] [Clang][NFC] Refactor `Targets.h` to make it publicly accessible (PR #116090)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 13 10:48:12 PST 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 2bd6af8cbc75ba67c20382757e03b85829d77a32 79266a93dde83c29c180f4a2c00ebdd3e575aea2 --extensions h -- clang/lib/Basic/TargetDefines.h clang/include/clang/Basic/TargetInfo.h clang/lib/Basic/Targets.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/Basic/Targets.h b/clang/lib/Basic/Targets.h
index 7b40b4388f..e1458384fa 100644
--- a/clang/lib/Basic/Targets.h
+++ b/clang/lib/Basic/Targets.h
@@ -15,7 +15,7 @@
#ifndef LLVM_CLANG_LIB_BASIC_TARGETS_H
#define LLVM_CLANG_LIB_BASIC_TARGETS_H
-#include "clang/Basic/TargetInfo.h"
#include "TargetDefines.h"
+#include "clang/Basic/TargetInfo.h"
#endif // LLVM_CLANG_LIB_BASIC_TARGETS_H
``````````
</details>
https://github.com/llvm/llvm-project/pull/116090
More information about the cfe-commits
mailing list