From 1408f91a2588243b84ca98799d0988535ef2e72a Mon Sep 17 00:00:00 2001 From: Kelvin Li Date: Wed, 26 Sep 2018 04:28:39 +0000 Subject: [OPENMP] Add support for OMP5 requires directive + unified_address clause Add support for OMP5.0 requires directive and unified_address clause. Patches to follow will include support for additional clauses. Differential Revision: https://reviews.llvm.org/D52359 llvm-svn: 343063 --- clang/lib/CodeGen/CodeGenModule.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'clang/lib/CodeGen/CodeGenModule.cpp') diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index baafa98d5c85..cd30ad1a400e 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -4879,6 +4879,10 @@ void CodeGenModule::EmitTopLevelDecl(Decl *D) { case Decl::OMPDeclareReduction: EmitOMPDeclareReduction(cast(D)); break; + + case Decl::OMPRequires: + EmitOMPRequiresDecl(cast(D)); + break; default: // Make sure we handled everything we should, every other kind is a -- cgit v1.2.3