lebedev.ri added a comment.

Hmm, but there already is clang's `-Wglobal-constructors`, that fires on some 
of these:
https://godbolt.org/z/rSnNuu
You are sure those extra warning this check produces ontop of 
`-Wglobal-constructors` are correct?
If so, maybe `-Wglobal-constructors` should be extended instead?


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

https://reviews.llvm.org/D62829



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to