diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2015-07-01 06:57:41 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2015-07-01 06:57:41 +0000 |
commit | 6d4ed0583033169f4a83f352e6ef0bd9275e34fa (patch) | |
tree | 283082dc9a4eda33ade3539de6575c9305ec5a09 /clang/lib/AST/StmtProfile.cpp | |
parent | 2510ba3f6e3153d94171bf7b0c6735fe644841cf (diff) | |
download | bcm5719-llvm-6d4ed0583033169f4a83f352e6ef0bd9275e34fa.tar.gz bcm5719-llvm-6d4ed0583033169f4a83f352e6ef0bd9275e34fa.zip |
[OPENMP 4.0] Initial support for 'omp cancellation point' construct.
Add parsing and sema analysis for 'omp cancellation point' directive.
llvm-svn: 241145
Diffstat (limited to 'clang/lib/AST/StmtProfile.cpp')
-rw-r--r-- | clang/lib/AST/StmtProfile.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/lib/AST/StmtProfile.cpp b/clang/lib/AST/StmtProfile.cpp index 8a48ee267f0..7d1d48be791 100644 --- a/clang/lib/AST/StmtProfile.cpp +++ b/clang/lib/AST/StmtProfile.cpp @@ -537,6 +537,11 @@ void StmtProfiler::VisitOMPTeamsDirective(const OMPTeamsDirective *S) { VisitOMPExecutableDirective(S); } +void StmtProfiler::VisitOMPCancellationPointDirective( + const OMPCancellationPointDirective *S) { + VisitOMPExecutableDirective(S); +} + void StmtProfiler::VisitExpr(const Expr *S) { VisitStmt(S); } |