[gn build] reformat all gn files

$ git ls-files '*.gn' '*.gni' | xargs llvm/utils/gn/gn.py format
This commit is contained in:
Nico Weber 2021-05-17 06:59:43 -04:00
parent 452e035729
commit 77fa9a9b15
3 changed files with 4 additions and 6 deletions

View File

@ -5,6 +5,7 @@ static_library("Interpreter") {
"//clang/lib/AST", "//clang/lib/AST",
"//clang/lib/Analysis", "//clang/lib/Analysis",
"//clang/lib/Basic", "//clang/lib/Basic",
"//clang/lib/CodeGen",
"//clang/lib/Driver", "//clang/lib/Driver",
"//clang/lib/Edit", "//clang/lib/Edit",
"//clang/lib/Frontend", "//clang/lib/Frontend",
@ -13,13 +14,12 @@ static_library("Interpreter") {
"//clang/lib/Parse", "//clang/lib/Parse",
"//clang/lib/Sema", "//clang/lib/Sema",
"//clang/lib/Serialization", "//clang/lib/Serialization",
"//clang/lib/CodeGen", "//llvm/lib/ExecutionEngine/Orc",
"//llvm/lib/IR", "//llvm/lib/IR",
"//llvm/lib/Option", "//llvm/lib/Option",
"//llvm/lib/Support", "//llvm/lib/Support",
"//llvm/lib/Target", "//llvm/lib/Target",
"//llvm/lib/Target:NativeTarget", "//llvm/lib/Target:NativeTarget",
"//llvm/lib/ExecutionEngine/Orc",
] ]
sources = [ sources = [
"IncrementalExecutor.cpp", "IncrementalExecutor.cpp",

View File

@ -111,7 +111,6 @@ static_library("LLVMX86CodeGen") {
"X86LoadValueInjectionRetHardening.cpp", "X86LoadValueInjectionRetHardening.cpp",
"X86LowerAMXIntrinsics.cpp", "X86LowerAMXIntrinsics.cpp",
"X86LowerAMXType.cpp", "X86LowerAMXType.cpp",
"X86PreAMXConfig.cpp",
"X86LowerTileCopy.cpp", "X86LowerTileCopy.cpp",
"X86MCInstLower.cpp", "X86MCInstLower.cpp",
"X86MachineFunctionInfo.cpp", "X86MachineFunctionInfo.cpp",
@ -119,6 +118,7 @@ static_library("LLVMX86CodeGen") {
"X86OptimizeLEAs.cpp", "X86OptimizeLEAs.cpp",
"X86PadShortFunction.cpp", "X86PadShortFunction.cpp",
"X86PartialReduction.cpp", "X86PartialReduction.cpp",
"X86PreAMXConfig.cpp",
"X86PreTileConfig.cpp", "X86PreTileConfig.cpp",
"X86RegisterBankInfo.cpp", "X86RegisterBankInfo.cpp",
"X86RegisterInfo.cpp", "X86RegisterInfo.cpp",

View File

@ -9,9 +9,7 @@ config("googletest_config") {
# LLVM requires C++11 but gtest doesn't correctly detect the availability # LLVM requires C++11 but gtest doesn't correctly detect the availability
# of C++11 on MSVC, so we force it on. # of C++11 on MSVC, so we force it on.
defines = [ defines = [ "GTEST_LANG_CXX11" ]
"GTEST_LANG_CXX11",
]
if (host_os == "win") { if (host_os == "win") {
defines += [ "GTEST_OS_WINDOWS" ] defines += [ "GTEST_OS_WINDOWS" ]
} }