HomePhabricator

[clang-tidy] Adding Fuchsia checker for statically constructed objects

Authored by juliehockett on Jan 11 2018, 1:17 PM.

Description

[clang-tidy] Adding Fuchsia checker for statically constructed objects

Adds a check to the Fuchsia module to warn if statically-stored objects
are created, unless constructed with constexpr.

See https://fuchsia.googlesource.com/zircon/+/master/docs/cxx.md for
reference.

Differential Revision: https://reviews.llvm.org/D41546

llvm-svn: 322310