summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST
diff options
context:
space:
mode:
authorMichael Kruse <llvm@meinersbur.de>2019-08-04 05:16:52 +0000
committerMichael Kruse <llvm@meinersbur.de>2019-08-04 05:16:52 +0000
commit7eb2f08b9c86011a38d68fce218efdbc176c0bbc (patch)
tree8611692c6e18c8c3f2e5c2acbc07a696e3d6908e /clang/lib/AST
parenta04ffdbb05fb1de71ce3f27281eab7000bc34e13 (diff)
downloadbcm5719-llvm-7eb2f08b9c86011a38d68fce218efdbc176c0bbc.tar.gz
bcm5719-llvm-7eb2f08b9c86011a38d68fce218efdbc176c0bbc.zip
Revert "[OpenMP 5.0] Codegen support for user-defined mappers."
This reverts commit r367773. The test case OpenMP/declare_mapper_codegen.cpp is failing. llvm-svn: 367774
Diffstat (limited to 'clang/lib/AST')
-rw-r--r--clang/lib/AST/ASTContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/ASTContext.cpp b/clang/lib/AST/ASTContext.cpp
index be7830640e7..468c7f47657 100644
--- a/clang/lib/AST/ASTContext.cpp
+++ b/clang/lib/AST/ASTContext.cpp
@@ -9860,7 +9860,7 @@ bool ASTContext::DeclMustBeEmitted(const Decl *D) {
return !D->getDeclContext()->isDependentContext();
else if (isa<OMPAllocateDecl>(D))
return !D->getDeclContext()->isDependentContext();
- else if (isa<OMPDeclareReductionDecl>(D) || isa<OMPDeclareMapperDecl>(D))
+ else if (isa<OMPDeclareReductionDecl>(D))
return !D->getDeclContext()->isDependentContext();
else if (isa<ImportDecl>(D))
return true;
OpenPOWER on IntegriCloud