mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-12-23 06:57:08 +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 | ||
| GPUTimer.h | ||
| main.cpp | ||
| NativeVertexFormat.cpp | ||
| OGL.vcxproj | ||
| OGL.vcxproj.filters | ||
| OGLPipeline.cpp | ||
| OGLPipeline.h | ||
| OGLShader.cpp | ||
| OGLShader.h | ||
| OGLTexture.cpp | ||
| OGLTexture.h | ||
| PerfQuery.cpp | ||
| PerfQuery.h | ||
| ProgramShaderCache.cpp | ||
| ProgramShaderCache.h | ||
| Render.cpp | ||
| Render.h | ||
| SamplerCache.cpp | ||
| SamplerCache.h | ||
| StreamBuffer.cpp | ||
| StreamBuffer.h | ||
| VertexManager.cpp | ||
| VertexManager.h | ||
| VideoBackend.h | ||