diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2015-03-27 00:01:44 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2015-03-27 00:01:44 +0000 |
| commit | 7dd1d0630ee127eaeedc23f9c02212467aac5c62 (patch) | |
| tree | 2d20de80e61f225e89c13726644db251e6d3d05d | |
| parent | 46e3ca1f1703e22caed981fe6ad09d04b0668027 (diff) | |
| download | bcm5719-llvm-7dd1d0630ee127eaeedc23f9c02212467aac5c62.tar.gz bcm5719-llvm-7dd1d0630ee127eaeedc23f9c02212467aac5c62.zip | |
[Modules] Fix another pointer keyed set that we iterate over while
writing a module to be a set-vector to preserve insertion order.
No test case, found by inspection.
llvm-svn: 233335
| -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 41b1cab75d5..bd01fc7df13 100644 --- a/clang/include/clang/Serialization/ASTWriter.h +++ b/clang/include/clang/Serialization/ASTWriter.h @@ -352,7 +352,7 @@ private: /// if its primary namespace comes from the chain. If it does, we add the /// primary to this set, so that we can write out lexical content updates for /// it. - llvm::SmallPtrSet<const DeclContext *, 16> UpdatedDeclContexts; + llvm::SmallSetVector<const DeclContext *, 16> UpdatedDeclContexts; /// \brief Keeps track of visible decls that were added in DeclContexts /// coming from another AST file. |

