mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-25 22:51:11 +00:00
Replace all lists with vectors (#815)
This commit is contained in:
1 parent
225eda7f49
commit
f931a8cead
13 files changed
+65
-67
No files matched your search
@@ -5,7 +5,7 @@
|
||||
#ifndef EXECUTABLE_SEMANTICS_AST_AST_H_
|
||||
#define EXECUTABLE_SEMANTICS_AST_AST_H_
|
||||
|
||||
#include <list>
|
||||
#include <vector>
|
||||
|
||||
#include "executable_semantics/ast/declaration.h"
|
||||
#include "executable_semantics/ast/library_name.h"
|
||||
@@ -22,7 +22,7 @@ struct AST {
|
||||
// Import directives.
|
||||
std::vector<LibraryName> imports;
|
||||
// The file's ordered declarations.
|
||||
std::list<Ptr<const Declaration>> declarations;
|
||||
std::vector<Ptr<const Declaration>> declarations;
|
||||
};
|
||||
|
||||
} // namespace Carbon
|
||||
|
||||
Reference in new issue
Block a user