diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2019-03-07 17:54:44 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2019-03-07 17:54:44 +0000 |
commit | 25ed0c07c1ce7835c2bca9d72e34aefda5294f40 (patch) | |
tree | 7a233e3c43b8603425fc3ab4694c8e0d78b37ee6 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 6ca0985aa572f25635f28ce8385dba112d56b6e9 (diff) | |
download | bcm5719-llvm-25ed0c07c1ce7835c2bca9d72e34aefda5294f40.tar.gz bcm5719-llvm-25ed0c07c1ce7835c2bca9d72e34aefda5294f40.zip |
[OPENMP 5.0]Add initial support for 'allocate' directive.
Added parsing/sema analysis/serialization/deserialization support for
'allocate' directive.
llvm-svn: 355614
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenModule.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp index 13fa3e780fd..7abffa339e2 100644 --- a/clang/lib/CodeGen/CodeGenModule.cpp +++ b/clang/lib/CodeGen/CodeGenModule.cpp @@ -5062,6 +5062,9 @@ void CodeGenModule::EmitTopLevelDecl(Decl *D) { EmitOMPThreadPrivateDecl(cast<OMPThreadPrivateDecl>(D)); break; + case Decl::OMPAllocate: + break; + case Decl::OMPDeclareReduction: EmitOMPDeclareReduction(cast<OMPDeclareReductionDecl>(D)); break; |