Lines Matching refs:CurDecl
3982 NamedDecl *CurDecl = getCurFunctionOrMethodDecl(); in BuildReturnStmt() local
3984 if (isa<ObjCMethodDecl>(CurDecl)) in BuildReturnStmt()
3986 else if (isa<CXXConstructorDecl>(CurDecl)) in BuildReturnStmt()
3988 else if (isa<CXXDestructorDecl>(CurDecl)) in BuildReturnStmt()
3992 << CurDecl << FunctionKind << RetValExp->getSourceRange(); in BuildReturnStmt()
4000 NamedDecl *CurDecl = getCurFunctionOrMethodDecl(); in BuildReturnStmt() local
4001 if (isa<CXXConstructorDecl>(CurDecl) || in BuildReturnStmt()
4002 isa<CXXDestructorDecl>(CurDecl)) in BuildReturnStmt()
4018 NamedDecl *CurDecl = getCurFunctionOrMethodDecl(); in BuildReturnStmt() local
4019 Diag(ReturnLoc, D) << CurDecl << isa<CXXDestructorDecl>(CurDecl) in BuildReturnStmt()
4025 NamedDecl *CurDecl = getCurFunctionOrMethodDecl(); in BuildReturnStmt() local
4028 if (isa<ObjCMethodDecl>(CurDecl)) in BuildReturnStmt()
4030 else if (isa<CXXConstructorDecl>(CurDecl)) in BuildReturnStmt()
4032 else if (isa<CXXDestructorDecl>(CurDecl)) in BuildReturnStmt()
4036 << CurDecl << FunctionKind << RetValExp->getSourceRange(); in BuildReturnStmt()