Lines Matching refs:NSDecl
218 if (const auto *NSDecl = dyn_cast<NamespaceDecl>(Context)) in getContextDescriptor() local
219 return getOrCreateNamespace(NSDecl); in getContextDescriptor()
3477 if (const NamespaceDecl *NSDecl = in collectFunctionDeclProps() local
3479 FDContext = getOrCreateNamespace(NSDecl); in collectFunctionDeclProps()
4822 const NamespaceDecl *NSDecl = UD.getNominatedNamespace(); in EmitUsingDirective() local
4823 if (!NSDecl->isAnonymousNamespace() || in EmitUsingDirective()
4828 getOrCreateNamespace(NSDecl), getOrCreateFile(Loc), getLineNumber(Loc)); in EmitUsingDirective()
4898 CGDebugInfo::getOrCreateNamespace(const NamespaceDecl *NSDecl) { in getOrCreateNamespace() argument
4902 auto I = NamespaceCache.find(NSDecl); in getOrCreateNamespace()
4906 llvm::DIScope *Context = getDeclContextDescriptor(NSDecl); in getOrCreateNamespace()
4909 DBuilder.createNameSpace(Context, NSDecl->getName(), NSDecl->isInline()); in getOrCreateNamespace()
4910 NamespaceCache[NSDecl].reset(NS); in getOrCreateNamespace()