diff options
| author | Alexey Bataev <a.bataev@hotmail.com> | 2014-06-20 09:44:06 +0000 |
|---|---|---|
| committer | Alexey Bataev <a.bataev@hotmail.com> | 2014-06-20 09:44:06 +0000 |
| commit | 142e1fc9eae98667c54e07325196d113ecc94c74 (patch) | |
| tree | 5ac278d2dacef0c29c8ca25f8e24087d88cc051e /clang/lib/Serialization/ASTReaderStmt.cpp | |
| parent | 6a29b55a5a390bcc60c27ec49776a6642ae58194 (diff) | |
| download | bcm5719-llvm-142e1fc9eae98667c54e07325196d113ecc94c74.tar.gz bcm5719-llvm-142e1fc9eae98667c54e07325196d113ecc94c74.zip | |
[OPENMP] Initial support for 'ordered' clause.
llvm-svn: 211347
Diffstat (limited to 'clang/lib/Serialization/ASTReaderStmt.cpp')
| -rw-r--r-- | clang/lib/Serialization/ASTReaderStmt.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/Serialization/ASTReaderStmt.cpp b/clang/lib/Serialization/ASTReaderStmt.cpp index cda835597f1..65f86707fcb 100644 --- a/clang/lib/Serialization/ASTReaderStmt.cpp +++ b/clang/lib/Serialization/ASTReaderStmt.cpp @@ -1694,6 +1694,9 @@ OMPClause *OMPClauseReader::readClause() { case OMPC_schedule: C = new (Context) OMPScheduleClause(); break; + case OMPC_ordered: + C = new (Context) OMPOrderedClause(); + break; case OMPC_private: C = OMPPrivateClause::CreateEmpty(Context, Record[Idx++]); break; @@ -1769,6 +1772,8 @@ void OMPClauseReader::VisitOMPScheduleClause(OMPScheduleClause *C) { C->setCommaLoc(Reader->ReadSourceLocation(Record, Idx)); } +void OMPClauseReader::VisitOMPOrderedClause(OMPOrderedClause *) {} + void OMPClauseReader::VisitOMPPrivateClause(OMPPrivateClause *C) { C->setLParenLoc(Reader->ReadSourceLocation(Record, Idx)); unsigned NumVars = C->varlist_size(); |

