summaryrefslogtreecommitdiffstats
path: root/clang/tools/libclang/CXCursor.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2014-07-18 10:17:07 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2014-07-18 10:17:07 +0000
commit2df347ad96350cc4f0761db412608193703a46c7 (patch)
treed45673a081abd8f272ddaa0d4622bb6f49c8ec1f /clang/tools/libclang/CXCursor.cpp
parent7a86a548b94d7316345481498a46335e1a220406 (diff)
downloadbcm5719-llvm-2df347ad96350cc4f0761db412608193703a46c7.tar.gz
bcm5719-llvm-2df347ad96350cc4f0761db412608193703a46c7.zip
[OPENMP] Initial parsing and sema analysis for 'taskwait' directive.
llvm-svn: 213363
Diffstat (limited to 'clang/tools/libclang/CXCursor.cpp')
-rw-r--r--clang/tools/libclang/CXCursor.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/tools/libclang/CXCursor.cpp b/clang/tools/libclang/CXCursor.cpp
index 634918c0756..b8b949a16cd 100644
--- a/clang/tools/libclang/CXCursor.cpp
+++ b/clang/tools/libclang/CXCursor.cpp
@@ -553,6 +553,9 @@ CXCursor cxcursor::MakeCXCursor(const Stmt *S, const Decl *Parent,
case Stmt::OMPBarrierDirectiveClass:
K = CXCursor_OMPBarrierDirective;
break;
+ case Stmt::OMPTaskwaitDirectiveClass:
+ K = CXCursor_OMPTaskwaitDirective;
+ break;
}
CXCursor C = { K, 0, { Parent, S, TU } };
OpenPOWER on IntegriCloud