Lines Matching refs:CurDecl
1276 CXXRecordDecl *CurDecl; in isCurrentClassName() local
1279 CurDecl = dyn_cast_or_null<CXXRecordDecl>(DC); in isCurrentClassName()
1281 CurDecl = dyn_cast_or_null<CXXRecordDecl>(CurContext); in isCurrentClassName()
1283 if (CurDecl && CurDecl->getIdentifier()) in isCurrentClassName()
1284 return &II == CurDecl->getIdentifier(); in isCurrentClassName()
1297 CXXRecordDecl *CurDecl; in isCurrentClassNameTypo() local
1300 CurDecl = dyn_cast_or_null<CXXRecordDecl>(DC); in isCurrentClassNameTypo()
1302 CurDecl = dyn_cast_or_null<CXXRecordDecl>(CurContext); in isCurrentClassNameTypo()
1304 if (CurDecl && CurDecl->getIdentifier() && II != CurDecl->getIdentifier() && in isCurrentClassNameTypo()
1305 3 * II->getName().edit_distance(CurDecl->getIdentifier()->getName()) in isCurrentClassNameTypo()
1307 II = CurDecl->getIdentifier(); in isCurrentClassNameTypo()