[llvm] 9551ae2 - [gn build] Run `git ls-files '*.gn' '*.gni' | xargs llvm/utils/gn/gn.py format`
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 17 09:31:53 PDT 2020
Author: Nico Weber
Date: 2020-07-17T12:31:42-04:00
New Revision: 9551ae22fca65d6e3bd2586472a5f4bce8cc25ac
URL: https://github.com/llvm/llvm-project/commit/9551ae22fca65d6e3bd2586472a5f4bce8cc25ac
DIFF: https://github.com/llvm/llvm-project/commit/9551ae22fca65d6e3bd2586472a5f4bce8cc25ac.diff
LOG: [gn build] Run `git ls-files '*.gn' '*.gni' | xargs llvm/utils/gn/gn.py format`
Added:
Modified:
llvm/utils/gn/secondary/clang-tools-extra/clangd/test/BUILD.gn
llvm/utils/gn/secondary/clang/lib/Testing/BUILD.gn
llvm/utils/gn/secondary/clang/tools/libclang/include_clang_tools_extra.gni
llvm/utils/gn/secondary/llvm/lib/Frontend/OpenMP/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/clang-tools-extra/clangd/test/BUILD.gn b/llvm/utils/gn/secondary/clang-tools-extra/clangd/test/BUILD.gn
index 540a8a3642c4..4dc4c278ebcd 100644
--- a/llvm/utils/gn/secondary/clang-tools-extra/clangd/test/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang-tools-extra/clangd/test/BUILD.gn
@@ -21,8 +21,9 @@ write_lit_config("lit_site_cfg") {
output = clangd_lit_site_cfg_file
extra_values = [
- "CMAKE_CURRENT_BINARY_DIR=" + rebase_path(
- get_label_info("//clang-tools-extra/clangd/test", "target_out_dir")),
+ "CMAKE_CURRENT_BINARY_DIR=" +
+ rebase_path(get_label_info("//clang-tools-extra/clangd/test",
+ "target_out_dir")),
"CMAKE_CURRENT_SOURCE_DIR=" +
rebase_path("//clang-tools-extra/clangd/test"),
diff --git a/llvm/utils/gn/secondary/clang/lib/Testing/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/Testing/BUILD.gn
index 727cc5b937dd..2d050154f3e8 100644
--- a/llvm/utils/gn/secondary/clang/lib/Testing/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/lib/Testing/BUILD.gn
@@ -1,8 +1,6 @@
static_library("Testing") {
output_name = "clangTesting"
configs += [ "//llvm/utils/gn/build:clang_code" ]
- deps = [
- "//llvm/lib/Support",
- ]
+ deps = [ "//llvm/lib/Support" ]
sources = [ "CommandLineArgs.cpp" ]
}
diff --git a/llvm/utils/gn/secondary/clang/tools/libclang/include_clang_tools_extra.gni b/llvm/utils/gn/secondary/clang/tools/libclang/include_clang_tools_extra.gni
index 41502f22a35b..0beaa37c7ec1 100644
--- a/llvm/utils/gn/secondary/clang/tools/libclang/include_clang_tools_extra.gni
+++ b/llvm/utils/gn/secondary/clang/tools/libclang/include_clang_tools_extra.gni
@@ -2,4 +2,3 @@ declare_args() {
# Whether to include code from clang-tools-extra in libclang.
libclang_include_clang_tools_extra = false
}
-
diff --git a/llvm/utils/gn/secondary/llvm/lib/Frontend/OpenMP/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Frontend/OpenMP/BUILD.gn
index 688a25e3c1df..579e37c6d5cb 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Frontend/OpenMP/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Frontend/OpenMP/BUILD.gn
@@ -17,7 +17,7 @@ static_library("OpenMP") {
]
public_deps = [ "//llvm/include/llvm/Frontend/OpenMP:public_tablegen" ]
sources = [
- "OMPContext.cpp",
- "OMPIRBuilder.cpp",
- ] + get_target_outputs(":OMPImpl")
+ "OMPContext.cpp",
+ "OMPIRBuilder.cpp",
+ ] + get_target_outputs(":OMPImpl")
}
More information about the llvm-commits
mailing list