commit | 4d1dfeabc969093847dce13a2c959c30544c79d2 | [log] [tgz] |
---|---|---|
author | Alexey Bataev <a.bataev@hotmail.com> | Fri Jul 18 09:11:51 2014 +0000 |
committer | Alexey Bataev <a.bataev@hotmail.com> | Fri Jul 18 09:11:51 2014 +0000 |
tree | cab67a86614d7f7f653ffc21f48b302de747771c | |
parent | e022851f3b253f421eced5fb0f8f5654771a35a1 [diff] [blame] |
[OPENMP] Initial parsing and sema analysis for 'barrier' directive. llvm-svn: 213360
diff --git a/clang/lib/AST/StmtProfile.cpp b/clang/lib/AST/StmtProfile.cpp index a4943bf..ae3be8d 100644 --- a/clang/lib/AST/StmtProfile.cpp +++ b/clang/lib/AST/StmtProfile.cpp
@@ -411,6 +411,10 @@ VisitOMPExecutableDirective(S); } +void StmtProfiler::VisitOMPBarrierDirective(const OMPBarrierDirective *S) { + VisitOMPExecutableDirective(S); +} + void StmtProfiler::VisitExpr(const Expr *S) { VisitStmt(S); }