https://github.com/llvm/llvm-project/issues/49184
clang-format doesn't handle the use of AttributeMacros where [[unlikely]] / [[likely]] could be used in if statements
This was nor covered in the original commit {D80144: [clang-format] @lefticus just taught the world how to use [[unlikely]] but we forgot to teach clang-format}
if (StartIndex == End) BRANCH_UNLIKELY return npos;
Give better support via
if (StartIndex == End) [[unlikely]] return npos; if (StartIndex == End) [[unlikely]] { return npos; } if (StartIndex == End) UNLIKELY return npos; if (StartIndex == End) UNLIKELY { return npos; }
Fixes #49184