Skip to content

Commit eadc282

Browse files
committed
[gn build] add multi-line forcing comments in more places
1 parent aed52fd commit eadc282

File tree

173 files changed

+176
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

173 files changed

+176
-0
lines changed

llvm/utils/gn/secondary/clang-tools-extra/clang-apply-replacements/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ static_library("clang-apply-replacements") {
1111
]
1212
include_dirs = [ "include" ]
1313
sources = [
14+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1415
"lib/Tooling/ApplyReplacements.cpp",
1516
]
1617
}

llvm/utils/gn/secondary/clang-tools-extra/clang-apply-replacements/tool/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ executable("clang-apply-replacements") {
1111
]
1212
include_dirs = [ "../include" ]
1313
sources = [
14+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1415
"ClangApplyReplacementsMain.cpp",
1516
]
1617
}

llvm/utils/gn/secondary/clang-tools-extra/clang-change-namespace/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ static_library("clang-change-namespace") {
1414
"//llvm/lib/Support",
1515
]
1616
sources = [
17+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1718
"ChangeNamespace.cpp",
1819
]
1920
}

llvm/utils/gn/secondary/clang-tools-extra/clang-change-namespace/tool/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ executable("clang-change-namespace") {
1414
]
1515
include_dirs = [ ".." ]
1616
sources = [
17+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1718
"ClangChangeNamespace.cpp",
1819
]
1920
}

llvm/utils/gn/secondary/clang-tools-extra/clang-doc/tool/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ executable("clang-doc") {
1111
]
1212
include_dirs = [ ".." ]
1313
sources = [
14+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1415
"ClangDocMain.cpp",
1516
]
1617
}

llvm/utils/gn/secondary/clang-tools-extra/clang-include-fixer/find-all-symbols/tool/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ executable("find-all-symbols") {
1212
]
1313
include_dirs = [ ".." ]
1414
sources = [
15+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1516
"FindAllSymbolsMain.cpp",
1617
]
1718
}

llvm/utils/gn/secondary/clang-tools-extra/clang-include-fixer/plugin/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ static_library("plugin") {
1313
]
1414

1515
sources = [
16+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1617
"IncludeFixerPlugin.cpp",
1718
]
1819
}

llvm/utils/gn/secondary/clang-tools-extra/clang-include-fixer/tool/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ executable("clang-include-fixer") {
1313
]
1414
include_dirs = [ ".." ]
1515
sources = [
16+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1617
"ClangIncludeFixer.cpp",
1718
]
1819
}

llvm/utils/gn/secondary/clang-tools-extra/clang-move/tool/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ executable("clang-move") {
1414
]
1515
include_dirs = [ ".." ]
1616
sources = [
17+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1718
"ClangMove.cpp",
1819
]
1920
}

llvm/utils/gn/secondary/clang-tools-extra/clang-query/tool/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ executable("clang-query") {
1212
]
1313
include_dirs = [ ".." ]
1414
sources = [
15+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1516
"ClangQuery.cpp",
1617
]
1718
}

llvm/utils/gn/secondary/clang-tools-extra/clang-reorder-fields/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ static_library("clang-reorder-fields") {
1212
"//llvm/lib/Support",
1313
]
1414
sources = [
15+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1516
"ReorderFieldsAction.cpp",
1617
]
1718
}

llvm/utils/gn/secondary/clang-tools-extra/clang-reorder-fields/tool/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ executable("clang-reorder-fields") {
1010
"//clang/lib/Tooling/Core",
1111
]
1212
sources = [
13+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1314
"ClangReorderFields.cpp",
1415
]
1516
}

llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/plugin/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ static_library("plugin") {
1313
]
1414

1515
sources = [
16+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1617
"ClangTidyPlugin.cpp",
1718
]
1819
}

llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/tool/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ executable("clang-tidy") {
1414
"//llvm/lib/Target:AllTargetsInfos",
1515
]
1616
sources = [
17+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1718
"ClangTidyMain.cpp",
1819
]
1920
}

llvm/utils/gn/secondary/clang-tools-extra/clangd/index/dex/dexp/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ executable("dexp") {
88
]
99
include_dirs = [ "../../.." ]
1010
sources = [
11+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1112
"Dexp.cpp",
1213
]
1314
}

llvm/utils/gn/secondary/clang-tools-extra/clangd/indexer/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ executable("clangd-indexer") {
1212
]
1313
include_dirs = [ ".." ]
1414
sources = [
15+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1516
"IndexerMain.cpp",
1617
]
1718
}

llvm/utils/gn/secondary/clang-tools-extra/clangd/tool/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ executable("clangd") {
2626

2727
include_dirs = [ ".." ]
2828
sources = [
29+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
2930
"ClangdMain.cpp",
3031
]
3132
}

llvm/utils/gn/secondary/clang-tools-extra/clangd/unittests/xpc/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ unittest("ClangdXpcTests") {
1010
]
1111
include_dirs = [ "//clang-tools-extra/clangd" ]
1212
sources = [
13+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1314
"ConversionTests.cpp",
1415
]
1516
}

llvm/utils/gn/secondary/clang-tools-extra/clangd/xpc/BUILD.gn

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ static_library("conversions") {
77
]
88
include_dirs = [ ".." ]
99
sources = [
10+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1011
"Conversion.cpp",
1112
]
1213
}
@@ -21,6 +22,7 @@ static_library("transport") {
2122
]
2223
include_dirs = [ ".." ]
2324
sources = [
25+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
2426
"XPCTransport.cpp",
2527
]
2628
}

llvm/utils/gn/secondary/clang-tools-extra/clangd/xpc/framework/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ shared_library("ClangdXPCLib") {
8484
"//clang-tools-extra/clangd/tool:clangd",
8585
]
8686
sources = [
87+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
8788
"ClangdXPC.cpp",
8889
]
8990
}

llvm/utils/gn/secondary/clang-tools-extra/clangd/xpc/test-client/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ executable("clangd-xpc-test-client") {
1515

1616
include_dirs = [ "../.." ]
1717
sources = [
18+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1819
"ClangdXPCTestClient.cpp",
1920
]
2021
}

llvm/utils/gn/secondary/clang-tools-extra/unittests/clang-apply-replacements/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ unittest("ClangApplyReplacementsTests") {
1010
]
1111
include_dirs = [ "//clang-tools-extra/clang-apply-replacements/include" ]
1212
sources = [
13+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1314
"ApplyReplacementsTest.cpp",
1415
]
1516
}

llvm/utils/gn/secondary/clang-tools-extra/unittests/clang-change-namespace/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ unittest("ClangChangeNamespaceTests") {
2222
"//clang",
2323
]
2424
sources = [
25+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
2526
"ChangeNamespaceTests.cpp",
2627
]
2728
}

llvm/utils/gn/secondary/clang-tools-extra/unittests/clang-include-fixer/find-all-symbols/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ unittest("FindAllSymbolsTests") {
1515
]
1616
include_dirs = [ "//clang-tools-extra/clang-include-fixer/find-all-symbols" ]
1717
sources = [
18+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1819
"FindAllSymbolsTests.cpp",
1920
]
2021
}

llvm/utils/gn/secondary/clang-tools-extra/unittests/clang-move/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ unittest("ClangMoveTests") {
2222
"//clang",
2323
]
2424
sources = [
25+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
2526
"ClangMoveTests.cpp",
2627
]
2728
}

llvm/utils/gn/secondary/clang/lib/CrossTU/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ static_library("CrossTU") {
99
"//llvm/lib/Support",
1010
]
1111
sources = [
12+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1213
"CrossTranslationUnit.cpp",
1314
]
1415
}

llvm/utils/gn/secondary/clang/lib/FrontendTool/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ static_library("FrontendTool") {
2424
deps += [ "//clang/lib/StaticAnalyzer/Frontend" ]
2525
}
2626
sources = [
27+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
2728
"ExecuteCompilerInvocation.cpp",
2829
]
2930
}

llvm/utils/gn/secondary/clang/lib/Tooling/ASTDiff/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ static_library("ASTDiff") {
88
"//llvm/lib/Support",
99
]
1010
sources = [
11+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1112
"ASTDiff.cpp",
1213
]
1314
}

llvm/utils/gn/secondary/clang/tools/arcmt-test/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ executable("arcmt-test") {
88
"//llvm/lib/Support",
99
]
1010
sources = [
11+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1112
"arcmt-test.cpp",
1213
]
1314
}

llvm/utils/gn/secondary/clang/tools/c-arcmt-test/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ executable("c-arcmt-test") {
44
"//clang/tools/libclang",
55
]
66
sources = [
7+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
78
"c-arcmt-test.c",
89
]
910

llvm/utils/gn/secondary/clang/tools/clang-check/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ executable("clang-check") {
1313
"//llvm/lib/Target:TargetsToBuild",
1414
]
1515
sources = [
16+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1617
"ClangCheck.cpp",
1718
]
1819
}

llvm/utils/gn/secondary/clang/tools/clang-diff/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ executable("clang-diff") {
88
"//llvm/lib/Support",
99
]
1010
sources = [
11+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1112
"ClangDiff.cpp",
1213
]
1314
}

llvm/utils/gn/secondary/clang/tools/clang-extdef-mapping/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ executable("clang-extdef-mapping") {
1212
"//llvm/lib/Support",
1313
]
1414
sources = [
15+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1516
"ClangExtDefMapGen.cpp",
1617
]
1718
}

llvm/utils/gn/secondary/clang/tools/clang-format/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ executable("clang-format") {
99
"//llvm/lib/Support",
1010
]
1111
sources = [
12+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1213
"ClangFormat.cpp",
1314
]
1415
}

llvm/utils/gn/secondary/clang/tools/clang-import-test/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ executable("clang-import-test") {
1212
"//llvm/lib/Support",
1313
]
1414
sources = [
15+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1516
"clang-import-test.cpp",
1617
]
1718
}

llvm/utils/gn/secondary/clang/tools/clang-offload-bundler/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ executable("clang-offload-bundler") {
88
"//llvm/lib/Support",
99
]
1010
sources = [
11+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1112
"ClangOffloadBundler.cpp",
1213
]
1314
}

llvm/utils/gn/secondary/clang/tools/clang-offload-wrapper/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ executable("clang-offload-wrapper") {
88
"//llvm/lib/Transforms/Utils",
99
]
1010
sources = [
11+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1112
"ClangOffloadWrapper.cpp",
1213
]
1314
}

llvm/utils/gn/secondary/clang/tools/clang-rename/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ executable("clang-rename") {
1111
"//llvm/lib/Support",
1212
]
1313
sources = [
14+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1415
"ClangRename.cpp",
1516
]
1617
}

llvm/utils/gn/secondary/clang/tools/clang-scan-deps/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ executable("clang-scan-deps") {
1616
"//llvm/lib/Support",
1717
]
1818
sources = [
19+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1920
"ClangScanDeps.cpp",
2021
]
2122
}

llvm/utils/gn/secondary/clang/unittests/CrossTU/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ unittest("CrossTUTests") {
1212
"//llvm/lib/Target:TargetsToBuild",
1313
]
1414
sources = [
15+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1516
"CrossTranslationUnitTest.cpp",
1617
]
1718
}

llvm/utils/gn/secondary/clang/unittests/Index/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ unittest("IndexTests") {
1313
"//llvm/lib/Support",
1414
]
1515
sources = [
16+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1617
"IndexTests.cpp",
1718
]
1819
}

llvm/utils/gn/secondary/clang/unittests/Serialization/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ unittest("SerializationTests") {
1212
"//llvm/lib/Support",
1313
]
1414
sources = [
15+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
1516
"InMemoryModuleCacheTest.cpp",
1617
]
1718
}

llvm/utils/gn/secondary/clang/unittests/libclang/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ unittest("libclangTests") {
66
"//clang/tools/libclang",
77
]
88
sources = [
9+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
910
"LibclangTest.cpp",
1011
]
1112
if (host_os == "mac") {

llvm/utils/gn/secondary/clang/unittests/libclang/CrashTests/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ unittest("libclangCrashTests") {
66
"//clang/tools/libclang",
77
]
88
sources = [
9+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
910
"LibclangCrashTest.cpp",
1011
]
1112
if (host_os == "mac") {

llvm/utils/gn/secondary/compiler-rt/lib/cfi/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ source_set("sources") {
44
configs -= [ "//llvm/utils/gn/build:llvm_code" ]
55
configs += [ "//llvm/utils/gn/build:crt_code" ]
66
sources = [
7+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
78
"cfi.cpp",
89
]
910
}

llvm/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ source_set("cxx_sources") {
7575
"//compiler-rt/lib/ubsan:cxx_sources",
7676
]
7777
sources = [
78+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
7879
"hwasan_new_delete.cpp",
7980
]
8081
}

llvm/utils/gn/secondary/compiler-rt/lib/sanitizer_common/BUILD.gn

+1
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ source_set("nolibc_sources") {
172172
"//llvm/utils/gn/build/libs/pthread",
173173
]
174174
sources = [
175+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
175176
"sanitizer_common_nolibc.cpp",
176177
]
177178
}

llvm/utils/gn/secondary/compiler-rt/lib/scudo/standalone/BUILD.gn

+2
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ source_set("c_wrapper_sources") {
6060
configs -= [ "//llvm/utils/gn/build:llvm_code" ]
6161
configs += [ "//llvm/utils/gn/build:crt_code" ]
6262
sources = [
63+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
6364
"wrappers_c.cpp",
6465
]
6566

@@ -70,6 +71,7 @@ source_set("cxx_wrapper_sources") {
7071
configs -= [ "//llvm/utils/gn/build:llvm_code" ]
7172
configs += [ "//llvm/utils/gn/build:crt_code" ]
7273
sources = [
74+
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
7375
"wrappers_cpp.cpp",
7476
]
7577

0 commit comments

Comments
 (0)