diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2014-06-16 07:08:35 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2014-06-16 07:08:35 +0000 |
commit | a40d587d1b28c568d8c9e292cc7d38abeb02a80e (patch) | |
tree | 3198bdc8a4ea9d75f12e0e1c125812ae25e405a4 /tools | |
parent | 7225802bf998624a54e48d81e2d6241cfc8c2b2b (diff) | |
download | clang-a40d587d1b28c568d8c9e292cc7d38abeb02a80e.tar.gz clang-a40d587d1b28c568d8c9e292cc7d38abeb02a80e.tar.bz2 clang-a40d587d1b28c568d8c9e292cc7d38abeb02a80e.tar.xz |
[OPENMP] Initial support of 'reduction' clause
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@211007 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/libclang/CIndex.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/libclang/CIndex.cpp b/tools/libclang/CIndex.cpp index 4d296d46b7..962e3a3406 100644 --- a/tools/libclang/CIndex.cpp +++ b/tools/libclang/CIndex.cpp @@ -1963,6 +1963,9 @@ void OMPClauseEnqueue::VisitOMPLastprivateClause( void OMPClauseEnqueue::VisitOMPSharedClause(const OMPSharedClause *C) { VisitOMPClauseList(C); } +void OMPClauseEnqueue::VisitOMPReductionClause(const OMPReductionClause *C) { + VisitOMPClauseList(C); +} void OMPClauseEnqueue::VisitOMPLinearClause(const OMPLinearClause *C) { VisitOMPClauseList(C); Visitor->AddStmt(C->getStep()); |