Home | History | Annotate | Download | only in Frontend

Lines Matching refs:DC

82         if (DeclContext *DC = dyn_cast<DeclContext>(D))
83 DC->dumpLookups(Out);
184 void PrintDeclContext(const DeclContext* DC, unsigned Indentation);
188 void DeclContextPrinter::PrintDeclContext(const DeclContext* DC,
191 switch (DC->getDeclKind()) {
193 Out << "[translation unit] " << DC;
197 const NamespaceDecl* ND = cast<NamespaceDecl>(DC);
202 const EnumDecl* ED = cast<EnumDecl>(DC);
211 const RecordDecl* RD = cast<RecordDecl>(DC);
220 const CXXRecordDecl* RD = cast<CXXRecordDecl>(DC);
225 Out << *RD << ' ' << DC;
253 const FunctionDecl* FD = cast<FunctionDecl>(DC);
274 const CXXMethodDecl* D = cast<CXXMethodDecl>(DC);
304 const CXXConstructorDecl* D = cast<CXXConstructorDecl>(DC);
325 // Check the semantic DC.
333 const CXXDestructorDecl* D = cast<CXXDestructorDecl>(DC);
341 // Check the semantic DC.
349 const CXXConversionDecl* D = cast<CXXConversionDecl>(DC);
357 // Check the semantic DC.
372 for (DeclContext::decl_iterator I = DC->decls_begin(), E = DC->decls_end();
397 DeclContext* DC = cast<DeclContext>(*I);
398 PrintDeclContext(DC, Indentation+2);