Switch Declaration to use inheritance+cast (#714)

This commit is contained in:
Jon Meow
2021-08-06 14:57:44 -07:00
committed by GitHub
parent 7c03858b55
commit c1148caf7d
11 changed files with 206 additions and 202 deletions
+1 -1
View File
@@ -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