diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2015-03-26 23:58:11 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2015-03-26 23:58:11 +0000 |
commit | a469eef7ce263953bcace4adde302a82c386655b (patch) | |
tree | ec01161f9ecbaad5a4907be43339e4ad9ba2c5f2 /clang/include | |
parent | 8440c986422ce91180ccf2f618af5fcc0a348e74 (diff) | |
download | bcm5719-llvm-a469eef7ce263953bcace4adde302a82c386655b.tar.gz bcm5719-llvm-a469eef7ce263953bcace4adde302a82c386655b.zip |
[Modules] Fix an obvious lack of deterministic ordering when processing
rewritten decls for Objective-C modules.
Found by inspection and completely obvious, so no test case. Many of the
remaining determinism fixes won't have precise test cases at this point,
but these are the kinds of things we wouldn't ask for a specific test of
during code review but ask authors to fix. The functionality isn't
changing, and should (he he!) already be tested.
llvm-svn: 233333
Diffstat (limited to 'clang/include')
-rw-r--r-- | clang/include/clang/Serialization/ASTWriter.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/Serialization/ASTWriter.h b/clang/include/clang/Serialization/ASTWriter.h index 6720141fb91..d3885b2557d 100644 --- a/clang/include/clang/Serialization/ASTWriter.h +++ b/clang/include/clang/Serialization/ASTWriter.h @@ -358,7 +358,7 @@ private: /// coming from another AST file. SmallVector<const Decl *, 16> UpdatingVisibleDecls; - typedef llvm::SmallPtrSet<const Decl *, 16> DeclsToRewriteTy; + typedef llvm::SmallSetVector<const Decl *, 16> DeclsToRewriteTy; /// \brief Decls that will be replaced in the current dependent AST file. DeclsToRewriteTy DeclsToRewrite; |