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/lib/Serialization/ASTWriterStmt.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/lib/Serialization/ASTWriterStmt.cpp')
-rw-r--r-- | clang/lib/Serialization/ASTWriterStmt.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/lib/Serialization/ASTWriterStmt.cpp b/clang/lib/Serialization/ASTWriterStmt.cpp index e1bce17c6fd..8f0c69e4318 100644 --- a/clang/lib/Serialization/ASTWriterStmt.cpp +++ b/clang/lib/Serialization/ASTWriterStmt.cpp @@ -1859,6 +1859,14 @@ void ASTStmtWriter::VisitOMPParallelForDirective(OMPParallelForDirective *D) { Code = serialization::STMT_OMP_PARALLEL_FOR_DIRECTIVE; } +void ASTStmtWriter::VisitOMPParallelSectionsDirective( + OMPParallelSectionsDirective *D) { + VisitStmt(D); + Record.push_back(D->getNumClauses()); + VisitOMPExecutableDirective(D); + Code = serialization::STMT_OMP_PARALLEL_SECTIONS_DIRECTIVE; +} + //===----------------------------------------------------------------------===// // ASTWriter Implementation //===----------------------------------------------------------------------===// |