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

NagaChaitanya Vellanki via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 21 09:24:01 PDT 2023


chaitanyav added a comment.

It will fall through to scalar type to do field wise initialization

  _Complex double gx = {1.0};
  
  _Complex double dx = {};    

I think i get what you are saying, we can directly say that it has excess elements without having to do the field wise initialization. Let me look into that


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