mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-27 12:31:17 +00:00
Switch Declaration to use inheritance+cast (#714)
This commit is contained in:
1 parent
7c03858b55
commit
c1148caf7d
11 files changed
+206
-202
No files matched your search
@@ -16,7 +16,7 @@
|
||||
namespace Carbon {
|
||||
|
||||
// Runs the top-level declaration list.
|
||||
void ExecProgram(std::list<Declaration>* fs);
|
||||
void ExecProgram(const std::list<const Declaration*>& fs);
|
||||
|
||||
} // namespace Carbon
|
||||
|
||||
|
||||
Reference in new issue
Block a user