[PATCH] D41546: [clang-tidy] Adding Fuchsia checker for statically constructed objects
Julie Hockett via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 5 14:51:46 PST 2018
juliehockett updated this revision to Diff 128806.
juliehockett marked 3 inline comments as done.
juliehockett added a comment.
1. Narrowing check to only warn if the declaration is a global non-trivial object with explicit static storage, unless the object either has a `constexpr` constructor or the object has no explicit constructor.
2. Restricting check to only consider C++11 or higher.
3. Updating tests to reflect the above
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 9722 bytes
Desc: not available
More information about the cfe-commits