From 07b6c0be4ab7553ff7e8574a794ecc963df0e9c3 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Thu, 2 Apr 2020 06:16:52 -0400 Subject: [PATCH] [gn build] remove NOSORT from clang/Headers/BUILD.gn Having the sync script work for this file seems better than matching the order of headers in the cmake file. Also, not having to manually sort the list is nice, even if gn's automated sorting doesn't quite match the artisanal order in the cmake file. --- llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn | 3 --- 1 file changed, 3 deletions(-) diff --git a/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn index 6994954..005eb74 100644 --- a/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn +++ b/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn @@ -55,9 +55,6 @@ copy("arm_headers") { copy("Headers") { deps = [ ":arm_headers" ] - # NOSORT - # Tell `gn format` to not reorder the sources list: Its order matches CMake, - # and the ordering is alphabetical but ignores leading underscores. sources = [ "arm_cmse.h", "adxintrin.h", -- 2.7.4