summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ASTWriterStmt.cpp
diff options
context:
space:
mode:
authorAlexander Musman <alexander.musman@gmail.com>2014-09-18 05:12:34 +0000
committerAlexander Musman <alexander.musman@gmail.com>2014-09-18 05:12:34 +0000
commitf82886e5020c2cda518902d665cd87ddb2c40e59 (patch)
tree6ee7a18ccc8f5cfe9b11e213b96343a16015bef2 /clang/lib/Serialization/ASTWriterStmt.cpp
parente0d77ef053fff7569e20a7593f05100af6801933 (diff)
downloadbcm5719-llvm-f82886e5020c2cda518902d665cd87ddb2c40e59.tar.gz
bcm5719-llvm-f82886e5020c2cda518902d665cd87ddb2c40e59.zip
Parsing/Sema of directive omp for simd
llvm-svn: 218029
Diffstat (limited to 'clang/lib/Serialization/ASTWriterStmt.cpp')
-rw-r--r--clang/lib/Serialization/ASTWriterStmt.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/Serialization/ASTWriterStmt.cpp b/clang/lib/Serialization/ASTWriterStmt.cpp
index 2cda8efa17b..9873eda75f5 100644
--- a/clang/lib/Serialization/ASTWriterStmt.cpp
+++ b/clang/lib/Serialization/ASTWriterStmt.cpp
@@ -1866,6 +1866,11 @@ void ASTStmtWriter::VisitOMPForDirective(OMPForDirective *D) {
Code = serialization::STMT_OMP_FOR_DIRECTIVE;
}
+void ASTStmtWriter::VisitOMPForSimdDirective(OMPForSimdDirective *D) {
+ VisitOMPLoopDirective(D);
+ Code = serialization::STMT_OMP_FOR_SIMD_DIRECTIVE;
+}
+
void ASTStmtWriter::VisitOMPSectionsDirective(OMPSectionsDirective *D) {
VisitStmt(D);
Record.push_back(D->getNumClauses());
OpenPOWER on IntegriCloud