Searched refs:ToDC (Results 1 - 2 of 2) sorted by relevance

/external/clang/lib/Sema/
H A DSemaAccess.cpp266 const DeclContext *ToDC = To->getDeclContext()->getPrimaryContext(); local
267 if (FromDC == ToDC) return true;
268 if (FromDC->isFileContext() || ToDC->isFileContext()) return false;
/external/clang/lib/AST/
H A DASTImporter.cpp6148 DeclContext *ToDC = cast_or_null<DeclContext>(Import(cast<Decl>(FromDC)));
6149 if (!ToDC)
6154 if (RecordDecl *ToRecord = dyn_cast<RecordDecl>(ToDC)) {
6164 } else if (EnumDecl *ToEnum = dyn_cast<EnumDecl>(ToDC)) {
6174 } else if (ObjCInterfaceDecl *ToClass = dyn_cast<ObjCInterfaceDecl>(ToDC)) {
6184 } else if (ObjCProtocolDecl *ToProto = dyn_cast<ObjCProtocolDecl>(ToDC)) {
6196 return ToDC;

Completed in 132 milliseconds