Searched refs:CurDecl (Results 1 – 3 of 3) sorted by relevance
2890 NamedDecl *CurDecl = getCurFunctionOrMethodDecl(); in BuildReturnStmt() local2892 if (isa<ObjCMethodDecl>(CurDecl)) in BuildReturnStmt()2894 else if (isa<CXXConstructorDecl>(CurDecl)) in BuildReturnStmt()2896 else if (isa<CXXDestructorDecl>(CurDecl)) in BuildReturnStmt()2900 << CurDecl->getDeclName() << FunctionKind in BuildReturnStmt()2909 NamedDecl *CurDecl = getCurFunctionOrMethodDecl(); in BuildReturnStmt() local2910 if (isa<CXXConstructorDecl>(CurDecl) || in BuildReturnStmt()2911 isa<CXXDestructorDecl>(CurDecl)) in BuildReturnStmt()2927 NamedDecl *CurDecl = getCurFunctionOrMethodDecl(); in BuildReturnStmt() local2929 << CurDecl->getDeclName() << isa<CXXDestructorDecl>(CurDecl) in BuildReturnStmt()[all …]
1229 CXXRecordDecl *CurDecl; in isCurrentClassName() local1232 CurDecl = dyn_cast_or_null<CXXRecordDecl>(DC); in isCurrentClassName()1234 CurDecl = dyn_cast_or_null<CXXRecordDecl>(CurContext); in isCurrentClassName()1236 if (CurDecl && CurDecl->getIdentifier()) in isCurrentClassName()1237 return &II == CurDecl->getIdentifier(); in isCurrentClassName()1250 CXXRecordDecl *CurDecl; in isCurrentClassNameTypo() local1253 CurDecl = dyn_cast_or_null<CXXRecordDecl>(DC); in isCurrentClassNameTypo()1255 CurDecl = dyn_cast_or_null<CXXRecordDecl>(CurContext); in isCurrentClassNameTypo()1257 if (CurDecl && CurDecl->getIdentifier() && II != CurDecl->getIdentifier() && in isCurrentClassNameTypo()1258 3 * II->getName().edit_distance(CurDecl->getIdentifier()->getName()) in isCurrentClassNameTypo()[all …]
2039 const Decl *CurDecl = CurCodeDecl; in EmitPredefinedLValue() local2040 if (!CurDecl || isa<VarDecl>(CurDecl)) in EmitPredefinedLValue()2041 CurDecl = getContext().getTranslationUnitDecl(); in EmitPredefinedLValue()2045 if (isa<BlockDecl>(CurDecl)) { in EmitPredefinedLValue()2049 } else if (isa<CapturedDecl>(CurDecl)) { in EmitPredefinedLValue()2052 FunctionName = PredefinedExpr::ComputeName(IdentType, CurDecl); in EmitPredefinedLValue()2054 FunctionName = PredefinedExpr::ComputeName(IdentType, CurDecl); in EmitPredefinedLValue()