[PATCH] D41963: [clang-tidy] Adding Fuchsia checker for thread local storage.

Julie Hockett via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 11 13:29:47 PST 2018


juliehockett created this revision.
juliehockett added reviewers: aaron.ballman, alexfh, hokein, ilya-biryukov.
juliehockett added a project: clang-tools-extra.
Herald added subscribers: xazax.hun, mgorny.

Adds a check to the Fuchsia module to warn if thread-local storage is used.

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


https://reviews.llvm.org/D41963

Files:
  clang-tidy/fuchsia/CMakeLists.txt
  clang-tidy/fuchsia/FuchsiaTidyModule.cpp
  clang-tidy/fuchsia/ThreadLocalCheck.cpp
  clang-tidy/fuchsia/ThreadLocalCheck.h
  docs/ReleaseNotes.rst
  docs/clang-tidy/checks/fuchsia-thread-local.rst
  docs/clang-tidy/checks/list.rst
  test/clang-tidy/fuchsia-thread-local.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41963.129507.patch
Type: text/x-patch
Size: 6031 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180111/2b170a01/attachment-0001.bin>


More information about the cfe-commits mailing list