diff --git a/utils/gn/build/BUILD.gn b/utils/gn/build/BUILD.gn index 993710f3de0..e04a644e1d5 100644 --- a/utils/gn/build/BUILD.gn +++ b/utils/gn/build/BUILD.gn @@ -306,7 +306,10 @@ config("compiler_defaults") { if (use_ubsan) { assert(is_clang && current_os == "linux", "ubsan only supported on Linux/Clang") - cflags += [ "-fsanitize=undefined", "-fno-sanitize-recover=all" ] + cflags += [ + "-fsanitize=undefined", + "-fno-sanitize-recover=all", + ] ldflags += [ "-fsanitize=undefined" ] } diff --git a/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn b/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn index 7deb8a3d3ed..32047fe93b8 100644 --- a/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn +++ b/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn @@ -52,8 +52,8 @@ source_set("sources") { "hwasan_dynamic_shadow.cpp", "hwasan_dynamic_shadow.h", "hwasan_exceptions.cpp", - "hwasan_fuchsia.cpp", "hwasan_flags.h", + "hwasan_fuchsia.cpp", "hwasan_globals.cpp", "hwasan_globals.h", "hwasan_interceptors.cpp", diff --git a/utils/gn/secondary/compiler-rt/lib/scudo/standalone/BUILD.gn b/utils/gn/secondary/compiler-rt/lib/scudo/standalone/BUILD.gn index 45de3db2307..4833177da62 100644 --- a/utils/gn/secondary/compiler-rt/lib/scudo/standalone/BUILD.gn +++ b/utils/gn/secondary/compiler-rt/lib/scudo/standalone/BUILD.gn @@ -17,8 +17,8 @@ source_set("sources") { "checksum.h", "chunk.h", "combined.h", - "common.h", "common.cpp", + "common.h", "crc32_hw.cpp", "flags.cpp", "flags.h", diff --git a/utils/gn/secondary/llvm/lib/Target/ARM/BUILD.gn b/utils/gn/secondary/llvm/lib/Target/ARM/BUILD.gn index 5d9156e653b..272da887e6a 100644 --- a/utils/gn/secondary/llvm/lib/Target/ARM/BUILD.gn +++ b/utils/gn/secondary/llvm/lib/Target/ARM/BUILD.gn @@ -58,8 +58,8 @@ static_library("LLVMARMCodeGen") { "//llvm/lib/Support", "//llvm/lib/Target", "//llvm/lib/Transforms/CFGuard", - "//llvm/lib/Transforms/Utils", "//llvm/lib/Transforms/IPO", + "//llvm/lib/Transforms/Utils", ] include_dirs = [ "." ] sources = [ diff --git a/utils/gn/secondary/llvm/tools/llvm-dwp/BUILD.gn b/utils/gn/secondary/llvm/tools/llvm-dwp/BUILD.gn index e6c6d2b182d..4a059807036 100644 --- a/utils/gn/secondary/llvm/tools/llvm-dwp/BUILD.gn +++ b/utils/gn/secondary/llvm/tools/llvm-dwp/BUILD.gn @@ -19,8 +19,8 @@ group("symlinks") { executable("llvm-dwp") { deps = [ - "//llvm/lib/DebugInfo/DWARF", "//llvm/lib/DWP", + "//llvm/lib/DebugInfo/DWARF", "//llvm/lib/MC", "//llvm/lib/Object", "//llvm/lib/Support", diff --git a/utils/gn/secondary/llvm/tools/llvm-sim/BUILD.gn b/utils/gn/secondary/llvm/tools/llvm-sim/BUILD.gn index 3451049f2ec..a391c0e1c2f 100644 --- a/utils/gn/secondary/llvm/tools/llvm-sim/BUILD.gn +++ b/utils/gn/secondary/llvm/tools/llvm-sim/BUILD.gn @@ -4,7 +4,5 @@ executable("llvm-sim") { "//llvm/lib/IRReader", "//llvm/lib/Support", ] - sources = [ - "llvm-sim.cpp", - ] + sources = [ "llvm-sim.cpp" ] } diff --git a/utils/gn/secondary/llvm/tools/llvm-tapi-diff/BUILD.gn b/utils/gn/secondary/llvm/tools/llvm-tapi-diff/BUILD.gn index c1deeb75739..ffdccf5fab6 100644 --- a/utils/gn/secondary/llvm/tools/llvm-tapi-diff/BUILD.gn +++ b/utils/gn/secondary/llvm/tools/llvm-tapi-diff/BUILD.gn @@ -5,7 +5,7 @@ executable("llvm-tapi-diff") { "//llvm/lib/TextAPI", ] sources = [ - "llvm-tapi-diff.cpp", "DiffEngine.cpp", + "llvm-tapi-diff.cpp", ] } diff --git a/utils/gn/secondary/llvm/unittests/MIR/BUILD.gn b/utils/gn/secondary/llvm/unittests/MIR/BUILD.gn index dc069d44da6..c6dd5ae607f 100644 --- a/utils/gn/secondary/llvm/unittests/MIR/BUILD.gn +++ b/utils/gn/secondary/llvm/unittests/MIR/BUILD.gn @@ -2,12 +2,11 @@ import("//llvm/utils/unittest/unittest.gni") unittest("MIRTests") { deps = [ - "//llvm/lib/CodeGen", - "//llvm/lib/IR", - "//llvm/lib/FileCheck", - "//llvm/lib/MC", "//llvm/lib/CodeGen/MIRParser", + "//llvm/lib/FileCheck", + "//llvm/lib/IR", + "//llvm/lib/MC", "//llvm/lib/Support", "//llvm/lib/Target", "//llvm/lib/Target:TargetsToBuild", diff --git a/utils/gn/secondary/llvm/unittests/Passes/BUILD.gn b/utils/gn/secondary/llvm/unittests/Passes/BUILD.gn index ce7acf1344c..29e4183d974 100644 --- a/utils/gn/secondary/llvm/unittests/Passes/BUILD.gn +++ b/utils/gn/secondary/llvm/unittests/Passes/BUILD.gn @@ -3,7 +3,11 @@ import("//llvm/utils/unittest/unittest.gni") # Keyed off LLVM_ENABLE_PLUGINS in the CMake build, which is usually false # on Windows and true elsewhere. if (host_os != "win") { - foreach(plugin, ["TestPlugin", "DoublerPlugin"]) { + foreach(plugin, + [ + "TestPlugin", + "DoublerPlugin", + ]) { loadable_module(plugin) { # Put plugin next to the unit test executable. output_dir = target_out_dir