Searched refs:CurDecl (Results 1 – 2 of 2) sorted by relevance
3247 NamedDecl *CurDecl = getCurFunctionOrMethodDecl(); in BuildReturnStmt() local3249 if (isa<ObjCMethodDecl>(CurDecl)) in BuildReturnStmt()3251 else if (isa<CXXConstructorDecl>(CurDecl)) in BuildReturnStmt()3253 else if (isa<CXXDestructorDecl>(CurDecl)) in BuildReturnStmt()3257 << CurDecl->getDeclName() << FunctionKind in BuildReturnStmt()3266 NamedDecl *CurDecl = getCurFunctionOrMethodDecl(); in BuildReturnStmt() local3267 if (isa<CXXConstructorDecl>(CurDecl) || in BuildReturnStmt()3268 isa<CXXDestructorDecl>(CurDecl)) in BuildReturnStmt()3284 NamedDecl *CurDecl = getCurFunctionOrMethodDecl(); in BuildReturnStmt() local3286 << CurDecl->getDeclName() << isa<CXXDestructorDecl>(CurDecl) in BuildReturnStmt()[all …]
1276 CXXRecordDecl *CurDecl; in isCurrentClassName() local1279 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() local1300 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()[all …]