diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2014-07-08 08:12:03 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2014-07-08 08:12:03 +0000 |
commit | 84d0b3efee509e4c820096772981adeb6568978f (patch) | |
tree | 7f24a3a2722c4f05eef7c831cca58f09281d18cc /clang/tools/libclang/CXCursor.cpp | |
parent | efbce587759f70ad651c98b93e9590751b0e3ce9 (diff) | |
download | bcm5719-llvm-84d0b3efee509e4c820096772981adeb6568978f.tar.gz bcm5719-llvm-84d0b3efee509e4c820096772981adeb6568978f.zip |
[OPENMP] Parsing and sema analysis for 'omp parallel sections' directive.
llvm-svn: 212516
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 b854ee50284..48f3480bc2f 100644 --- a/clang/tools/libclang/CXCursor.cpp +++ b/clang/tools/libclang/CXCursor.cpp @@ -538,6 +538,9 @@ CXCursor cxcursor::MakeCXCursor(const Stmt *S, const Decl *Parent, case Stmt::OMPParallelForDirectiveClass: K = CXCursor_OMPParallelForDirective; break; + case Stmt::OMPParallelSectionsDirectiveClass: + K = CXCursor_OMPParallelSectionsDirective; + break; } CXCursor C = { K, 0, { Parent, S, TU } }; |