Lines Matching refs:NSDecl
172 if (const NamespaceDecl *NSDecl = dyn_cast<NamespaceDecl>(Context)) in getContextDescriptor() local
173 return getOrCreateNameSpace(NSDecl); in getContextDescriptor()
2626 if (const NamespaceDecl *NSDecl = in collectFunctionDeclProps() local
2628 FDContext = getOrCreateNameSpace(NSDecl); in collectFunctionDeclProps()
3633 const NamespaceDecl *NSDecl = UD.getNominatedNamespace(); in EmitUsingDirective() local
3634 if (!NSDecl->isAnonymousNamespace() || in EmitUsingDirective()
3638 getOrCreateNameSpace(NSDecl), in EmitUsingDirective()
3695 CGDebugInfo::getOrCreateNameSpace(const NamespaceDecl *NSDecl) { in getOrCreateNameSpace() argument
3696 NSDecl = NSDecl->getCanonicalDecl(); in getOrCreateNameSpace()
3697 auto I = NameSpaceCache.find(NSDecl); in getOrCreateNameSpace()
3701 unsigned LineNo = getLineNumber(NSDecl->getLocation()); in getOrCreateNameSpace()
3702 llvm::DIFile *FileD = getOrCreateFile(NSDecl->getLocation()); in getOrCreateNameSpace()
3703 llvm::DIScope *Context = getDeclContextDescriptor(NSDecl); in getOrCreateNameSpace()
3705 DBuilder.createNameSpace(Context, NSDecl->getName(), FileD, LineNo); in getOrCreateNameSpace()
3706 NameSpaceCache[NSDecl].reset(NS); in getOrCreateNameSpace()