]> granicus.if.org Git - clang/commit
[Modules] Make our on-disk hash table of selector IDs be built in
authorChandler Carruth <chandlerc@gmail.com>
Fri, 27 Mar 2015 00:47:43 +0000 (00:47 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Fri, 27 Mar 2015 00:47:43 +0000 (00:47 +0000)
commitf09fab4349178d9604dcf326d928b02c05783502
treeb65debe267fb5363a0c39cb54c9a67da3f58c25d
parent4babb8dca1481c027c38ceaed8bf6c7c52ae509a
[Modules] Make our on-disk hash table of selector IDs be built in
a deterministic order.

This uses a MapVector to track the insertion order of selectors.

Found by inspection.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@233342 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Serialization/ASTWriter.h
lib/Serialization/ASTWriter.cpp