[llvm] 476155e - [gn build] reformat all gn files
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 20 07:34:20 PDT 2021
Author: Nico Weber
Date: 2021-04-20T10:34:08-04:00
New Revision: 476155e68efb838487a19386ce5f670c53b855c3
URL: https://github.com/llvm/llvm-project/commit/476155e68efb838487a19386ce5f670c53b855c3
DIFF: https://github.com/llvm/llvm-project/commit/476155e68efb838487a19386ce5f670c53b855c3.diff
LOG: [gn build] reformat all gn files
$ git ls-files '*.gn' '*.gni' | xargs llvm/utils/gn/gn.py format
(and manually wrap two comments)
Added:
Modified:
llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
llvm/utils/gn/secondary/clang/unittests/Introspection/BUILD.gn
llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn
llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
index 12f5f15a59fb4..243399c9517b8 100644
--- a/llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/lib/Basic/BUILD.gn
@@ -31,9 +31,13 @@ static_library("Basic") {
"//clang/include/clang/Basic:diags_tablegen",
"//clang/include/clang/Basic:riscv_vector_builtins",
"//clang/include/clang/Basic:version",
- # public_dep because public header AttributeCommonInfo.h includes generated AttrParsedAttrList.inc.
+
+ # public_dep because public header AttributeCommonInfo.h includes generated
+ # AttrParsedAttrList.inc.
"//clang/include/clang/Sema:AttrParsedAttrList",
- # public_dep because public header OpenMPKinds.h includes generated OMP.h.inc
+
+ # public_dep because public header OpenMPKinds.h includes generated
+ # OMP.h.inc.
"//llvm/include/llvm/Frontend/OpenMP:public_tablegen",
]
deps = [
diff --git a/llvm/utils/gn/secondary/clang/unittests/Introspection/BUILD.gn b/llvm/utils/gn/secondary/clang/unittests/Introspection/BUILD.gn
index d42138c68c0d8..cac9b01dbf96c 100644
--- a/llvm/utils/gn/secondary/clang/unittests/Introspection/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/unittests/Introspection/BUILD.gn
@@ -13,7 +13,6 @@ unittest("IntrospectionTests") {
"//llvm/lib/Testing/Support",
]
-
defines = [ "SKIP_INTROSPECTION_GENERATION" ]
sources = [ "IntrospectionTest.cpp" ]
diff --git a/llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn
index 806cd7c480f31..8eae2cdb3972f 100644
--- a/llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn
+++ b/llvm/utils/gn/secondary/compiler-rt/lib/BUILD.gn
@@ -3,6 +3,6 @@ group("lib") {
"//compiler-rt/lib/asan",
"//compiler-rt/lib/builtins",
"//compiler-rt/lib/profile",
- "//compiler-rt/lib/tsan" ,
+ "//compiler-rt/lib/tsan",
]
}
diff --git a/llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
index 5d3fc514935df..365e21c200cbc 100644
--- a/llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/CodeGen/BUILD.gn
@@ -40,9 +40,9 @@ static_library("CodeGen") {
"DeadMachineInstructionElim.cpp",
"DetectDeadLanes.cpp",
"DwarfEHPrepare.cpp",
+ "EHContGuardCatchret.cpp",
"EarlyIfConversion.cpp",
"EdgeBundles.cpp",
- "EHContGuardCatchret.cpp",
"ExecutionDomainFix.cpp",
"ExpandMemCmp.cpp",
"ExpandPostRAPseudos.cpp",
More information about the llvm-commits
mailing list