diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2014-10-07 10:13:33 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2014-10-07 10:13:33 +0000 |
commit | 941bbec6f4d90763ec3fd97f7380836c7085ea81 (patch) | |
tree | 11486f57eae83a1dca964517a51a7658b19a3e86 /clang/tools/libclang/CXCursor.cpp | |
parent | f3fe49aac61e49c0ff14602c95c2c3c7bbb6578a (diff) | |
download | bcm5719-llvm-941bbec6f4d90763ec3fd97f7380836c7085ea81.tar.gz bcm5719-llvm-941bbec6f4d90763ec3fd97f7380836c7085ea81.zip |
[OPENMP] 'omp teams' directive basic support.
Includes parsing and semantic analysis for 'omp teams' directive support from OpenMP 4.0. Adds additional analysis to 'omp target' directive with 'omp teams' directive.
llvm-svn: 219197
Diffstat (limited to 'clang/tools/libclang/CXCursor.cpp')
-rw-r--r-- | clang/tools/libclang/CXCursor.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/tools/libclang/CXCursor.cpp b/clang/tools/libclang/CXCursor.cpp index 05117ef0356..782f05e1e85 100644 --- a/clang/tools/libclang/CXCursor.cpp +++ b/clang/tools/libclang/CXCursor.cpp @@ -578,6 +578,9 @@ CXCursor cxcursor::MakeCXCursor(const Stmt *S, const Decl *Parent, case Stmt::OMPTargetDirectiveClass: K = CXCursor_OMPTargetDirective; break; + case Stmt::OMPTeamsDirectiveClass: + K = CXCursor_OMPTeamsDirective; + break; } CXCursor C = { K, 0, { Parent, S, TU } }; |