C++ lexer shows function closing curly brackets in red
oliora opened this issue · comments
Andrey Upadyshev commented
Name of the lexer
cpp
Code sample
A sample of the code that produces the bug.
template <std::size_t Alignment>
inline __attribute__((always_inline)) const char* alignedAfter(const char* ptr) noexcept {
auto offset = reinterpret_cast<std::uintptr_t>(ptr) & (Alignment - 1);
return offset ? (ptr + Alignment - offset) : ptr;
}
Additional context
Check the closing bracket in red. The CSS class of it is err
.