[PATCH] D146503: Fix highlighting issue with _complex and initialization list with more than 2 items

Timm Bäder via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 21 03:15:38 PDT 2023


tbaeder added a comment.

I think the problem is that in https://github.com/llvm/llvm-project/blob/25ca26e0da2e1f80d62f71807828762691a049ac/clang/lib/Sema/SemaInit.cpp#L1532-L1541, the code checks for `Index != 2` and then handles it as a single scalar initializer.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146503/new/

https://reviews.llvm.org/D146503



More information about the cfe-commits mailing list