[cfe-dev] Inappropriate InitializationStyle

Abramo Bagnara abramo.bagnara at gmail.com
Thu Jul 5 03:10:51 PDT 2012


Hi Sebastian,

in r150318 you've finally introduced the most needed InitalizationStyle,
but in

struct S {
  S();
};

S x;

for the last VarDecl, the InitStyle is set to CallInit, but this is not
truly appropriate.
What do you think about introducing another style called NoInit to be
used in cases where there is no written initializer?




More information about the cfe-dev mailing list