Sort Attributes by "HeaderName"
authorErich Keane <erich.keane@intel.com>
Mon, 16 Oct 2017 20:31:05 +0000 (20:31 +0000)
committerErich Keane <erich.keane@intel.com>
Mon, 16 Oct 2017 20:31:05 +0000 (20:31 +0000)
commita98a2be8695bc56c64a66a681954b86afa2227a9
treede912b1bfd8f08615e07294b5352faf072249a0a
parent46e0918f83bb360a9cacc9e56027e93a02ace0e4
Sort Attributes by "HeaderName"

Attributes in the docs were previously sorted (apparently)
by the attribute name, so AnyX86Interrupt ended up being the
first one, rather than in a meaningful place. This resulted in the
4 'interrupt' titled sections being all in different places.

This replaces it with a naive alphabetical sort (case sensitive, underscore
and special characters first, etc).

Differential Revision: https://reviews.llvm.org/D38969

llvm-svn: 315931
clang/utils/TableGen/ClangAttrEmitter.cpp