a2eccbf075
The returned string is simply a substring of our constexpr tabs string_view, so we can just use a string_view here as well, since the original string_view is guaranteed to always exist. Now the function is fully non-allocating. |
||
---|---|---|
.. | ||
decode | ||
ast.cpp | ||
ast.h | ||
compiler_settings.cpp | ||
compiler_settings.h | ||
control_flow.cpp | ||
control_flow.h | ||
decode.cpp | ||
expr.cpp | ||
expr.h | ||
node.h | ||
node_helper.cpp | ||
node_helper.h | ||
shader_ir.cpp | ||
shader_ir.h | ||
track.cpp |