Lines Matching refs:CurDecl
1229 CXXRecordDecl *CurDecl;
1232 CurDecl = dyn_cast_or_null<CXXRecordDecl>(DC);
1234 CurDecl = dyn_cast_or_null<CXXRecordDecl>(CurContext);
1236 if (CurDecl && CurDecl->getIdentifier())
1237 return &II == CurDecl->getIdentifier();
1250 CXXRecordDecl *CurDecl;
1253 CurDecl = dyn_cast_or_null<CXXRecordDecl>(DC);
1255 CurDecl = dyn_cast_or_null<CXXRecordDecl>(CurContext);
1257 if (CurDecl && CurDecl->getIdentifier() && II != CurDecl->getIdentifier() &&
1258 3 * II->getName().edit_distance(CurDecl->getIdentifier()->getName())
1260 II = CurDecl->getIdentifier();