Jon Meow
17be4adec6
Use is_constructible to correct New error lines ( #936 )
2021-11-02 13:26:07 -07:00
Jon Meow
ffa4e76ede
Add underscores to private data members ( #898 )
...
This is the last PR I plan to have focused on #720
2021-10-19 14:27:10 -07:00
Jon Meow
b1af08fed0
Rename ptr.h to nonnull.h ( #839 )
2021-09-20 15:15:30 -07:00
Jon Meow
56dc4ae375
Rename Ptr<T> to Nonnull<T*> ( #832 )
...
Note that ptr.h also includes an enable_if change, to help avoid https://bugs.llvm.org/show_bug.cgi?id=51881
2021-09-16 19:22:57 -07:00
Jon Meow
90f04700e2
Remove global_arena ( #814 )
...
With this, only main.cpp instantiates an arena. Maybe we'll want to split that up more later (e.g., so that the runtime interpreter uses its own arena), but given the intent to have type-checking update the AST, I thought this was a reasonable approach for now in order to avoid ownership complexities.
Fixes #769
2021-09-09 11:00:57 -07:00
Jon Meow
0980df65cd
Remove RawNew from Arena #807
2021-09-02 16:00:49 -07:00
Jon Meow and Geoff Romer
c6ebe0db67
Add Ptr and RawNew for migration ( #751 )
...
Co-authored-by: Geoff Romer <gromer@google.com >
2021-08-17 13:37:29 -07:00
Jon Meow
9829f188b7
Move all new's to global_arena, and remove ASAN disabling ( #690 )
...
Note this changes identifiers from char* to string to avoid malloc.
Fixes #580
2021-08-02 11:08:22 -07:00
Jon Meow
b08f6bb0f1
Add a global arena to start cleaning up ASAN errors ( #687 )
2021-07-30 10:56:53 -07:00