[PATCH] D62829: [clang-tidy] Check for dynamically initialized statics in headers.
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jun 6 16:23:39 PDT 2019
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
More information about the cfe-commits
mailing list