From df67fc468eb34e9fc8b79be8f55fada8322eaadd Mon Sep 17 00:00:00 2001 From: Samuel Antao Date: Tue, 19 Jan 2016 19:15:56 +0000 Subject: [OpenMP] Parsing + sema for "target enter data" directive. Patch by Arpith Jacob. Thanks! llvm-svn: 258165 --- clang/lib/CodeGen/CGStmtOpenMP.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'clang/lib/CodeGen/CGStmtOpenMP.cpp') diff --git a/clang/lib/CodeGen/CGStmtOpenMP.cpp b/clang/lib/CodeGen/CGStmtOpenMP.cpp index bf00b04563c..f6b8e5907d4 100644 --- a/clang/lib/CodeGen/CGStmtOpenMP.cpp +++ b/clang/lib/CodeGen/CGStmtOpenMP.cpp @@ -2661,6 +2661,11 @@ void CodeGenFunction::EmitOMPTargetDataDirective( [&CS](CodeGenFunction &CGF) { CGF.EmitStmt(CS->getCapturedStmt()); }); } +void CodeGenFunction::EmitOMPTargetEnterDataDirective( + const OMPTargetEnterDataDirective &S) { + // TODO: codegen for target enter data. +} + void CodeGenFunction::EmitOMPTaskLoopDirective(const OMPTaskLoopDirective &S) { // emit the code inside the construct for now auto CS = cast(S.getAssociatedStmt()); -- cgit v1.2.3