[llvm] b9e1e6a - [gn] reformat all gn files
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Tue May 2 17:42:23 PDT 2023
Author: Nico Weber
Date: 2023-05-02T20:42:03-04:00
New Revision: b9e1e6af3961ced305ea6005b216b7fd0778ccf5
URL: https://github.com/llvm/llvm-project/commit/b9e1e6af3961ced305ea6005b216b7fd0778ccf5
DIFF: https://github.com/llvm/llvm-project/commit/b9e1e6af3961ced305ea6005b216b7fd0778ccf5.diff
LOG: [gn] reformat all gn files
I ran:
git ls-files '*.gn' '*.gni' | xargs llvm/utils/gn/gn.py format
Added:
Modified:
llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
llvm/utils/gn/secondary/clang/tools/clang-scan-deps/BUILD.gn
llvm/utils/gn/secondary/compiler-rt/lib/scudo/BUILD.gn
llvm/utils/gn/secondary/lldb/tools/lldb-server/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
index 478749220f25c..1c77969c2631f 100644
--- a/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn
@@ -220,10 +220,10 @@ copy("Headers") {
"riscv_ntlh.h",
"rtmintrin.h",
"s390intrin.h",
- "sifive_vector.h",
"serializeintrin.h",
"sgxintrin.h",
"shaintrin.h",
+ "sifive_vector.h",
"smmintrin.h",
"stdalign.h",
"stdarg.h",
diff --git a/llvm/utils/gn/secondary/clang/tools/clang-scan-deps/BUILD.gn b/llvm/utils/gn/secondary/clang/tools/clang-scan-deps/BUILD.gn
index 48a9ddc7746c7..f29c8ab1c2ba9 100644
--- a/llvm/utils/gn/secondary/clang/tools/clang-scan-deps/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/tools/clang-scan-deps/BUILD.gn
@@ -1,5 +1,5 @@
-import("//llvm/utils/gn/build/driver_executable.gni")
import("//llvm/utils/TableGen/tablegen.gni")
+import("//llvm/utils/gn/build/driver_executable.gni")
tablegen("Opts") {
visibility = [ ":clang-scan-deps" ]
diff --git a/llvm/utils/gn/secondary/compiler-rt/lib/scudo/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/scudo/BUILD.gn
index 406807a2c8647..2fe08699bca3f 100644
--- a/llvm/utils/gn/secondary/compiler-rt/lib/scudo/BUILD.gn
+++ b/llvm/utils/gn/secondary/compiler-rt/lib/scudo/BUILD.gn
@@ -20,4 +20,3 @@ group("scudo") {
}
testonly = true
}
-
diff --git a/llvm/utils/gn/secondary/lldb/tools/lldb-server/BUILD.gn b/llvm/utils/gn/secondary/lldb/tools/lldb-server/BUILD.gn
index 37082746e098d..bb1f3ad20b9d3 100644
--- a/llvm/utils/gn/secondary/lldb/tools/lldb-server/BUILD.gn
+++ b/llvm/utils/gn/secondary/lldb/tools/lldb-server/BUILD.gn
@@ -39,6 +39,7 @@ executable("lldb-server") {
#deps += [ "//lldb/source/Plugins/Platform/Android" ]
}
}
+
#} else if (current_os == "freebsd") {
#deps += [ "//lldb/source/Platform/Process/FreeBSD" ]
#deps += [ "//lldb/source/Plugins/Process/FreeBSD" ]
More information about the llvm-commits
mailing list