mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-11-24 10:23:21 +00:00
Since C++17, non-member std::size() is present in the standard library which also operates on regular C arrays. Given that, we can just replace usages of ArraySize with that where applicable. In many cases, we can just change the actual C array ArraySize() was called on into a std::array and just use its .size() member function instead. In some other cases, we can collapse the loops they were used in, into a ranged-for loop, eliminating the need for en explicit bounds query. |
||
|---|---|---|
| .. | ||
| BoundingBox.cpp | ||
| BoundingBox.h | ||
| CMakeLists.txt | ||
| Common.h | ||
| D3D12.vcxproj | ||
| D3D12.vcxproj.filters | ||
| DescriptorAllocator.cpp | ||
| DescriptorAllocator.h | ||
| DescriptorHeapManager.cpp | ||
| DescriptorHeapManager.h | ||
| DXContext.cpp | ||
| DXContext.h | ||
| DXPipeline.cpp | ||
| DXPipeline.h | ||
| DXShader.cpp | ||
| DXShader.h | ||
| DXTexture.cpp | ||
| DXTexture.h | ||
| DXVertexFormat.cpp | ||
| DXVertexFormat.h | ||
| PerfQuery.cpp | ||
| PerfQuery.h | ||
| Renderer.cpp | ||
| Renderer.h | ||
| StreamBuffer.cpp | ||
| StreamBuffer.h | ||
| SwapChain.cpp | ||
| SwapChain.h | ||
| VertexManager.cpp | ||
| VertexManager.h | ||
| VideoBackend.cpp | ||
| VideoBackend.h | ||