Skip to content

Commit

Permalink
[gn build] add multi-line forcing comments in more places
Browse files Browse the repository at this point in the history
  • Loading branch information
nico committed Jan 15, 2020
1 parent aed52fd commit eadc282
Show file tree
Hide file tree
Showing 173 changed files with 176 additions and 0 deletions.
Expand Up @@ -11,6 +11,7 @@ static_library("clang-apply-replacements") {
]
include_dirs = [ "include" ]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"lib/Tooling/ApplyReplacements.cpp",
]
}
Expand Up @@ -11,6 +11,7 @@ executable("clang-apply-replacements") {
]
include_dirs = [ "../include" ]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"ClangApplyReplacementsMain.cpp",
]
}
Expand Up @@ -14,6 +14,7 @@ static_library("clang-change-namespace") {
"//llvm/lib/Support",
]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"ChangeNamespace.cpp",
]
}
Expand Up @@ -14,6 +14,7 @@ executable("clang-change-namespace") {
]
include_dirs = [ ".." ]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"ClangChangeNamespace.cpp",
]
}
Expand Up @@ -11,6 +11,7 @@ executable("clang-doc") {
]
include_dirs = [ ".." ]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"ClangDocMain.cpp",
]
}
Expand Up @@ -12,6 +12,7 @@ executable("find-all-symbols") {
]
include_dirs = [ ".." ]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"FindAllSymbolsMain.cpp",
]
}
Expand Up @@ -13,6 +13,7 @@ static_library("plugin") {
]

sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"IncludeFixerPlugin.cpp",
]
}
Expand Up @@ -13,6 +13,7 @@ executable("clang-include-fixer") {
]
include_dirs = [ ".." ]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"ClangIncludeFixer.cpp",
]
}
Expand Up @@ -14,6 +14,7 @@ executable("clang-move") {
]
include_dirs = [ ".." ]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"ClangMove.cpp",
]
}
Expand Up @@ -12,6 +12,7 @@ executable("clang-query") {
]
include_dirs = [ ".." ]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"ClangQuery.cpp",
]
}
Expand Up @@ -12,6 +12,7 @@ static_library("clang-reorder-fields") {
"//llvm/lib/Support",
]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"ReorderFieldsAction.cpp",
]
}
Expand Up @@ -10,6 +10,7 @@ executable("clang-reorder-fields") {
"//clang/lib/Tooling/Core",
]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"ClangReorderFields.cpp",
]
}
Expand Up @@ -13,6 +13,7 @@ static_library("plugin") {
]

sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"ClangTidyPlugin.cpp",
]
}
Expand Up @@ -14,6 +14,7 @@ executable("clang-tidy") {
"//llvm/lib/Target:AllTargetsInfos",
]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"ClangTidyMain.cpp",
]
}
Expand Up @@ -8,6 +8,7 @@ executable("dexp") {
]
include_dirs = [ "../../.." ]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"Dexp.cpp",
]
}
Expand Up @@ -12,6 +12,7 @@ executable("clangd-indexer") {
]
include_dirs = [ ".." ]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"IndexerMain.cpp",
]
}
Expand Up @@ -26,6 +26,7 @@ executable("clangd") {

include_dirs = [ ".." ]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"ClangdMain.cpp",
]
}
Expand Up @@ -10,6 +10,7 @@ unittest("ClangdXpcTests") {
]
include_dirs = [ "//clang-tools-extra/clangd" ]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"ConversionTests.cpp",
]
}
2 changes: 2 additions & 0 deletions llvm/utils/gn/secondary/clang-tools-extra/clangd/xpc/BUILD.gn
Expand Up @@ -7,6 +7,7 @@ static_library("conversions") {
]
include_dirs = [ ".." ]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"Conversion.cpp",
]
}
Expand All @@ -21,6 +22,7 @@ static_library("transport") {
]
include_dirs = [ ".." ]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"XPCTransport.cpp",
]
}
Expand Up @@ -84,6 +84,7 @@ shared_library("ClangdXPCLib") {
"//clang-tools-extra/clangd/tool:clangd",
]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"ClangdXPC.cpp",
]
}
Expand Down
Expand Up @@ -15,6 +15,7 @@ executable("clangd-xpc-test-client") {

include_dirs = [ "../.." ]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"ClangdXPCTestClient.cpp",
]
}
Expand Up @@ -10,6 +10,7 @@ unittest("ClangApplyReplacementsTests") {
]
include_dirs = [ "//clang-tools-extra/clang-apply-replacements/include" ]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"ApplyReplacementsTest.cpp",
]
}
Expand Up @@ -22,6 +22,7 @@ unittest("ClangChangeNamespaceTests") {
"//clang",
]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"ChangeNamespaceTests.cpp",
]
}
Expand Up @@ -15,6 +15,7 @@ unittest("FindAllSymbolsTests") {
]
include_dirs = [ "//clang-tools-extra/clang-include-fixer/find-all-symbols" ]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"FindAllSymbolsTests.cpp",
]
}
Expand Up @@ -22,6 +22,7 @@ unittest("ClangMoveTests") {
"//clang",
]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"ClangMoveTests.cpp",
]
}
1 change: 1 addition & 0 deletions llvm/utils/gn/secondary/clang/lib/CrossTU/BUILD.gn
Expand Up @@ -9,6 +9,7 @@ static_library("CrossTU") {
"//llvm/lib/Support",
]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"CrossTranslationUnit.cpp",
]
}
1 change: 1 addition & 0 deletions llvm/utils/gn/secondary/clang/lib/FrontendTool/BUILD.gn
Expand Up @@ -24,6 +24,7 @@ static_library("FrontendTool") {
deps += [ "//clang/lib/StaticAnalyzer/Frontend" ]
}
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"ExecuteCompilerInvocation.cpp",
]
}
1 change: 1 addition & 0 deletions llvm/utils/gn/secondary/clang/lib/Tooling/ASTDiff/BUILD.gn
Expand Up @@ -8,6 +8,7 @@ static_library("ASTDiff") {
"//llvm/lib/Support",
]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"ASTDiff.cpp",
]
}
1 change: 1 addition & 0 deletions llvm/utils/gn/secondary/clang/tools/arcmt-test/BUILD.gn
Expand Up @@ -8,6 +8,7 @@ executable("arcmt-test") {
"//llvm/lib/Support",
]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"arcmt-test.cpp",
]
}
1 change: 1 addition & 0 deletions llvm/utils/gn/secondary/clang/tools/c-arcmt-test/BUILD.gn
Expand Up @@ -4,6 +4,7 @@ executable("c-arcmt-test") {
"//clang/tools/libclang",
]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"c-arcmt-test.c",
]

Expand Down
1 change: 1 addition & 0 deletions llvm/utils/gn/secondary/clang/tools/clang-check/BUILD.gn
Expand Up @@ -13,6 +13,7 @@ executable("clang-check") {
"//llvm/lib/Target:TargetsToBuild",
]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"ClangCheck.cpp",
]
}
1 change: 1 addition & 0 deletions llvm/utils/gn/secondary/clang/tools/clang-diff/BUILD.gn
Expand Up @@ -8,6 +8,7 @@ executable("clang-diff") {
"//llvm/lib/Support",
]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"ClangDiff.cpp",
]
}
Expand Up @@ -12,6 +12,7 @@ executable("clang-extdef-mapping") {
"//llvm/lib/Support",
]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"ClangExtDefMapGen.cpp",
]
}
1 change: 1 addition & 0 deletions llvm/utils/gn/secondary/clang/tools/clang-format/BUILD.gn
Expand Up @@ -9,6 +9,7 @@ executable("clang-format") {
"//llvm/lib/Support",
]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"ClangFormat.cpp",
]
}
Expand Up @@ -12,6 +12,7 @@ executable("clang-import-test") {
"//llvm/lib/Support",
]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"clang-import-test.cpp",
]
}
Expand Up @@ -8,6 +8,7 @@ executable("clang-offload-bundler") {
"//llvm/lib/Support",
]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"ClangOffloadBundler.cpp",
]
}
Expand Up @@ -8,6 +8,7 @@ executable("clang-offload-wrapper") {
"//llvm/lib/Transforms/Utils",
]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"ClangOffloadWrapper.cpp",
]
}
1 change: 1 addition & 0 deletions llvm/utils/gn/secondary/clang/tools/clang-rename/BUILD.gn
Expand Up @@ -11,6 +11,7 @@ executable("clang-rename") {
"//llvm/lib/Support",
]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"ClangRename.cpp",
]
}
Expand Up @@ -16,6 +16,7 @@ executable("clang-scan-deps") {
"//llvm/lib/Support",
]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"ClangScanDeps.cpp",
]
}
1 change: 1 addition & 0 deletions llvm/utils/gn/secondary/clang/unittests/CrossTU/BUILD.gn
Expand Up @@ -12,6 +12,7 @@ unittest("CrossTUTests") {
"//llvm/lib/Target:TargetsToBuild",
]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"CrossTranslationUnitTest.cpp",
]
}
1 change: 1 addition & 0 deletions llvm/utils/gn/secondary/clang/unittests/Index/BUILD.gn
Expand Up @@ -13,6 +13,7 @@ unittest("IndexTests") {
"//llvm/lib/Support",
]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"IndexTests.cpp",
]
}
Expand Up @@ -12,6 +12,7 @@ unittest("SerializationTests") {
"//llvm/lib/Support",
]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"InMemoryModuleCacheTest.cpp",
]
}
1 change: 1 addition & 0 deletions llvm/utils/gn/secondary/clang/unittests/libclang/BUILD.gn
Expand Up @@ -6,6 +6,7 @@ unittest("libclangTests") {
"//clang/tools/libclang",
]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"LibclangTest.cpp",
]
if (host_os == "mac") {
Expand Down
Expand Up @@ -6,6 +6,7 @@ unittest("libclangCrashTests") {
"//clang/tools/libclang",
]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"LibclangCrashTest.cpp",
]
if (host_os == "mac") {
Expand Down
1 change: 1 addition & 0 deletions llvm/utils/gn/secondary/compiler-rt/lib/cfi/BUILD.gn
Expand Up @@ -4,6 +4,7 @@ source_set("sources") {
configs -= [ "//llvm/utils/gn/build:llvm_code" ]
configs += [ "//llvm/utils/gn/build:crt_code" ]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"cfi.cpp",
]
}
Expand Down
1 change: 1 addition & 0 deletions llvm/utils/gn/secondary/compiler-rt/lib/hwasan/BUILD.gn
Expand Up @@ -75,6 +75,7 @@ source_set("cxx_sources") {
"//compiler-rt/lib/ubsan:cxx_sources",
]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"hwasan_new_delete.cpp",
]
}
Expand Down
Expand Up @@ -172,6 +172,7 @@ source_set("nolibc_sources") {
"//llvm/utils/gn/build/libs/pthread",
]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"sanitizer_common_nolibc.cpp",
]
}
Expand Up @@ -60,6 +60,7 @@ source_set("c_wrapper_sources") {
configs -= [ "//llvm/utils/gn/build:llvm_code" ]
configs += [ "//llvm/utils/gn/build:crt_code" ]
sources = [
# Make `gn format` not collapse this, for sync_source_lists_from_cmake.py.
"wrappers_c.cpp",
]

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

Expand Down

0 comments on commit eadc282

Please sign in to comment.