diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2014-05-06 06:04:14 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2014-05-06 06:04:14 +0000 |
commit | bcbadb65ab7181ce4f6b00f8a541757253404068 (patch) | |
tree | 6cf18a7904426c30d82c498d79aaa74ff26a5a75 /clang/lib/Serialization/ASTWriterStmt.cpp | |
parent | 4cf4e664c20ee6ae3e97653c55045e80acbe6789 (diff) | |
download | bcm5719-llvm-bcbadb65ab7181ce4f6b00f8a541757253404068.tar.gz bcm5719-llvm-bcbadb65ab7181ce4f6b00f8a541757253404068.zip |
[OPENMP] 'proc_bind' clause support - Parsing and sema analysis for OpenMP clause 'proc_bind'
llvm-svn: 208060
Diffstat (limited to 'clang/lib/Serialization/ASTWriterStmt.cpp')
-rw-r--r-- | clang/lib/Serialization/ASTWriterStmt.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/lib/Serialization/ASTWriterStmt.cpp b/clang/lib/Serialization/ASTWriterStmt.cpp index 2fcf5450a3c..947bca746ad 100644 --- a/clang/lib/Serialization/ASTWriterStmt.cpp +++ b/clang/lib/Serialization/ASTWriterStmt.cpp @@ -1696,6 +1696,12 @@ void OMPClauseWriter::VisitOMPDefaultClause(OMPDefaultClause *C) { Writer->Writer.AddSourceLocation(C->getDefaultKindKwLoc(), Record); } +void OMPClauseWriter::VisitOMPProcBindClause(OMPProcBindClause *C) { + Record.push_back(C->getProcBindKind()); + Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); + Writer->Writer.AddSourceLocation(C->getProcBindKindKwLoc(), Record); +} + void OMPClauseWriter::VisitOMPPrivateClause(OMPPrivateClause *C) { Record.push_back(C->varlist_size()); Writer->Writer.AddSourceLocation(C->getLParenLoc(), Record); |