Add various methods from llvm::ArrayRef. Refactor implementation to remove code duplication.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I removed the various asserts from the original code as we did for StringView.
Should we start to add tests?
libc/utils/CPP/ArrayRef.h | ||
---|---|---|
28 | These are effectively type names so why not Capitalize them? |
Comment Actions
- Fix argument capitalization
libc/utils/CPP/ArrayRef.h | ||
---|---|---|
28 | This is to follow the naming scheme of STL container |
These are effectively type names so why not Capitalize them?