Lines Matching refs:NSDecl
157 if (const NamespaceDecl *NSDecl = dyn_cast<NamespaceDecl>(Context)) in getContextDescriptor() local
158 return getOrCreateNameSpace(NSDecl); in getContextDescriptor()
2331 if (const NamespaceDecl *NSDecl = in collectFunctionDeclProps() local
2333 FDContext = getOrCreateNameSpace(NSDecl); in collectFunctionDeclProps()
3345 CGDebugInfo::getOrCreateNameSpace(const NamespaceDecl *NSDecl) { in getOrCreateNameSpace() argument
3346 NSDecl = NSDecl->getCanonicalDecl(); in getOrCreateNameSpace()
3347 auto I = NameSpaceCache.find(NSDecl); in getOrCreateNameSpace()
3351 unsigned LineNo = getLineNumber(NSDecl->getLocation()); in getOrCreateNameSpace()
3352 llvm::DIFile FileD = getOrCreateFile(NSDecl->getLocation()); in getOrCreateNameSpace()
3354 getContextDescriptor(dyn_cast<Decl>(NSDecl->getDeclContext())); in getOrCreateNameSpace()
3356 DBuilder.createNameSpace(Context, NSDecl->getName(), FileD, LineNo); in getOrCreateNameSpace()
3357 NameSpaceCache[NSDecl].reset(NS); in getOrCreateNameSpace()