This makes it such that new.cpp contains only the definitions of
operator new and operator delete, like its libc++abi counterpart.
Details
Details
- Reviewers
Mordante - Group Reviewers
Restricted Project - Commits
- rG3956a34e4fc6: [libc++] Move non operator new definitions outside of new.cpp
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
libcxx/src/new_helpers.cpp | ||
---|---|---|
24 | Nit: Should we use std:: in new code? |
libcxx/src/new.cpp | ||
---|---|---|
10 | Yes, we use std::malloc. |
Is this include still needed?