]> granicus.if.org Git - clang/commit
[OpenMP] DSAChecker bug fix for combined directives.
authorArpith Chacko Jacob <acjacob@us.ibm.com>
Mon, 23 Jan 2017 15:38:49 +0000 (15:38 +0000)
committerArpith Chacko Jacob <acjacob@us.ibm.com>
Mon, 23 Jan 2017 15:38:49 +0000 (15:38 +0000)
commit772e1ce24c4c530e7d5a61b12e41e3cdbd7305a8
tree93af227e426c3f4c294ae5af3131cf32a2c2939a
parent48a5626030abeee8d0893896bb7dd9382b407868
[OpenMP] DSAChecker bug fix for combined directives.

The DSAChecker code in SemaOpenMP looks at the captured statement
associated with an OpenMP directive.  A combined directive such as
'target parallel' has nested capture statements, which have to be
fully traversed before executing the DSAChecker.  This is a patch
to perform the traversal for such combined directives.

Reviewers: ABataev
Differential Revision: https://reviews.llvm.org/D29026

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@292794 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaOpenMP.cpp
test/OpenMP/target_parallel_default_messages.cpp