diff options
author | Saar Raz <saar@raz.email> | 2020-01-18 14:58:01 +0200 |
---|---|---|
committer | Saar Raz <saar@raz.email> | 2020-01-18 14:58:01 +0200 |
commit | baa84d8cde940278d6fb37917ac0d64c127b528f (patch) | |
tree | c5be4e4061c59594ba6e2c2dc60a92b71d5d0329 /clang/lib/AST/DeclBase.cpp | |
parent | 69bc450882fc6a3066e9fe79f68106376bbef569 (diff) | |
download | llvm-baa84d8cde940278d6fb37917ac0d64c127b528f.zip llvm-baa84d8cde940278d6fb37917ac0d64c127b528f.tar.gz llvm-baa84d8cde940278d6fb37917ac0d64c127b528f.tar.bz2 |
Revert "[Concepts] Requires Expressions"
This reverts commit 027931899763409e2c61a84bdee6057b5e838ffa.
There have been some failing tests on some platforms, reverting while investigating.
Diffstat (limited to 'clang/lib/AST/DeclBase.cpp')
-rw-r--r-- | clang/lib/AST/DeclBase.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/AST/DeclBase.cpp b/clang/lib/AST/DeclBase.cpp index cb4d61c..6ee767c 100644 --- a/clang/lib/AST/DeclBase.cpp +++ b/clang/lib/AST/DeclBase.cpp @@ -804,7 +804,6 @@ unsigned Decl::getIdentifierNamespaceForKind(Kind DeclKind) { case OMPCapturedExpr: case Empty: case LifetimeExtendedTemporary: - case RequiresExprBody: // Never looked up by name. return 0; } @@ -1178,7 +1177,6 @@ DeclContext *DeclContext::getPrimaryContext() { case Decl::Captured: case Decl::OMPDeclareReduction: case Decl::OMPDeclareMapper: - case Decl::RequiresExprBody: // There is only one DeclContext for these entities. return this; |