diff options
Diffstat (limited to 'clang/lib/AST/DeclBase.cpp')
| -rw-r--r-- | clang/lib/AST/DeclBase.cpp | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/AST/DeclBase.cpp b/clang/lib/AST/DeclBase.cpp index 6ee767ccecf7d..cb4d61cac2c71 100644 --- a/clang/lib/AST/DeclBase.cpp +++ b/clang/lib/AST/DeclBase.cpp @@ -804,6 +804,7 @@ unsigned Decl::getIdentifierNamespaceForKind(Kind DeclKind) {      case OMPCapturedExpr:      case Empty:      case LifetimeExtendedTemporary: +    case RequiresExprBody:        // Never looked up by name.        return 0;    } @@ -1177,6 +1178,7 @@ 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;  | 
