[PATCH] D57113: [clang-tidy] openmp-use-default-none - a new module and a check

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 28 10:21:12 PST 2019


lebedev.ri updated this revision to Diff 183903.
lebedev.ri added a comment.

NFC.

- Rebased
- Switched to `OpenMPClauseKind ASTNodeKind::getOMPClauseKind()`. This is better anyway, since it avoids string comparisons, and is a simple switch over an enum.


Repository:
  rCTE Clang Tools Extra

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

https://reviews.llvm.org/D57113

Files:
  clang-tidy/CMakeLists.txt
  clang-tidy/ClangTidyForceLinker.h
  clang-tidy/openmp/CMakeLists.txt
  clang-tidy/openmp/OpenMPTidyModule.cpp
  clang-tidy/openmp/UseDefaultNoneCheck.cpp
  clang-tidy/openmp/UseDefaultNoneCheck.h
  clang-tidy/plugin/CMakeLists.txt
  clang-tidy/tool/CMakeLists.txt
  docs/ReleaseNotes.rst
  docs/clang-tidy/checks/list.rst
  docs/clang-tidy/checks/openmp-use-default-none.rst
  docs/clang-tidy/index.rst
  test/clang-tidy/openmp-use-default-none.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57113.183903.patch
Type: text/x-patch
Size: 25802 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190128/ec4c6ce0/attachment-0001.bin>


More information about the cfe-commits mailing list