- __constant__ variables should not be hidden as the linker may turn them into LOCAL symbols.
|7851 ↗||(On Diff #196857)|
yeah, it's the format after clang-format. It seems that clang-format try to apply the same indent for LHS & RHS of a binary operator. With the leading parenthesis, RHS in a newline is indented with one more space.
|1 ↗||(On Diff #196857)|
that's so far the option applied for both AMDGPU & HIP (targetting non-MS) by default in clang frontend. Check AMDGPUToolChain::addClangTargetOptions and HIPToolChain::addClangTargetOptions