Skip to content
Snippets Groups Projects
Sébastien Villemot's avatar
Sébastien Villemot authored
- store objects whose persistence is not guaranteed (e.g. strings) as values
  instead of references (to avoid possible segfaults)
- on the contrary, always store the SymbolTable as a reference, since its
  persistence is guaranteed, and we don't want to copy it
- use pass-by-value in constructors whenever possible
- remove useless const keyword when passing by value
725b91e5
History
Name Last commit Last update