When we're writing macro definitions to an AST/PCH File, sort the
commitb68da66c51894eebfbec7e90aada7ced22b25ed6
authorDouglas Gregor <doug.gregor@gmail.com>
Thu, 10 Feb 2011 18:20:09 +0000 (10 18:20 +0000)
committerDouglas Gregor <doug.gregor@gmail.com>
Thu, 10 Feb 2011 18:20:09 +0000 (10 18:20 +0000)
treef185e82ed65f649016d0555d876761e8c70ba8dc
parentcc72ee736fea1f11f97830ff67da4e3f1d2caea1
When we're writing macro definitions to an AST/PCH File, sort the
macro definitions by macro name first. That way, we'll get a stable
ordering in the AST/PCH file.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125297 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Serialization/ASTWriter.cpp
test/PCH/reinclude.cpp