From: Nico Weber Date: Mon, 24 Dec 2018 23:06:29 +0000 (+0000) Subject: [gn build] Make NOSORT line actually work X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=495b9e0eb7b14283c669dd031433298320a5418d;p=platform%2Fupstream%2Fllvm.git [gn build] Make NOSORT line actually work GN wants the NOSORT line to be the first line of a comment block, not the last line. I sent https://gn-review.googlesource.com/c/gn/+/3560 to support having it in the last line too, but since it will be a while until everyone has that change even if it's expected, use the form that works today. Differential Revision: https://reviews.llvm.org/D56065 llvm-svn: 350060 --- diff --git a/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn index 6e9be8a8..c2b89af 100644 --- a/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn +++ b/llvm/utils/gn/secondary/clang/lib/Headers/BUILD.gn @@ -34,9 +34,9 @@ copy("Headers") { ":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. - # NOSORT sources = [ "adxintrin.h", "altivec.h",