summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST/StmtProfile.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2015-07-01 06:57:41 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2015-07-01 06:57:41 +0000
commit6d4ed0583033169f4a83f352e6ef0bd9275e34fa (patch)
tree283082dc9a4eda33ade3539de6575c9305ec5a09 /clang/lib/AST/StmtProfile.cpp
parent2510ba3f6e3153d94171bf7b0c6735fe644841cf (diff)
downloadbcm5719-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.cpp5
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);
}
OpenPOWER on IntegriCloud