[PATCH] D57112: [ASTTypeTraits] OMPClause handling

Roman Lebedev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 23 11:57:31 PST 2019


lebedev.ri created this revision.
lebedev.ri added reviewers: sbenza, bkramer, pcc, klimek, hokein.
lebedev.ri added a project: OpenMP.
lebedev.ri added a child revision: D57113: [clang-tidy] openmp-use-default-none - a new module and a check.

`OMPClause` is the base class, it is not descendant from **any** other class,
therefore for it to work with e.g. `VariadicDynCastAllOfMatcher<>`, it needs to be handled here.

Now, i'm not quite sure what else should be here,
i have simply followed the preexisting, prevalent pattern in these source files.

The test coverage i have will be in the clang-tidy check.


Repository:
  rC Clang

https://reviews.llvm.org/D57112

Files:
  include/clang/AST/ASTTypeTraits.h
  lib/AST/ASTTypeTraits.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57112.183138.patch
Type: text/x-patch
Size: 3499 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190123/3bfef84f/attachment-0001.bin>


More information about the cfe-commits mailing list