Lines Matching defs:DC
26 void ASTDumper::dumpInvalidDeclContext(const DeclContext *DC) {
28 if (!DC) {
43 NodeDumper.dumpPointer(DC);
47 OS << "unrecognized Decl kind " << (unsigned)DC->getDeclKind();
53 void ASTDumper::dumpLookups(const DeclContext *DC, bool DumpDecls) {
56 NodeDumper.dumpBareDeclRef(cast<Decl>(DC));
58 const DeclContext *Primary = DC->getPrimaryContext();
59 if (Primary != DC) {
276 const DeclContext *DC = this;
277 while (!DC->isTranslationUnit())
278 DC = DC->getParent();
279 const ASTContext &Ctx = cast<TranslationUnitDecl>(DC)->getASTContext();