Lines Matching refs:CurDecl
4029 NamedDecl *CurDecl = getCurFunctionOrMethodDecl(); in BuildReturnStmt() local
4031 if (isa<ObjCMethodDecl>(CurDecl)) in BuildReturnStmt()
4033 else if (isa<CXXConstructorDecl>(CurDecl)) in BuildReturnStmt()
4035 else if (isa<CXXDestructorDecl>(CurDecl)) in BuildReturnStmt()
4039 << CurDecl << FunctionKind << RetValExp->getSourceRange(); in BuildReturnStmt()
4047 NamedDecl *CurDecl = getCurFunctionOrMethodDecl(); in BuildReturnStmt() local
4048 if (isa<CXXConstructorDecl>(CurDecl) || in BuildReturnStmt()
4049 isa<CXXDestructorDecl>(CurDecl)) in BuildReturnStmt()
4065 NamedDecl *CurDecl = getCurFunctionOrMethodDecl(); in BuildReturnStmt() local
4066 Diag(ReturnLoc, D) << CurDecl << isa<CXXDestructorDecl>(CurDecl) in BuildReturnStmt()
4072 NamedDecl *CurDecl = getCurFunctionOrMethodDecl(); in BuildReturnStmt() local
4075 if (isa<ObjCMethodDecl>(CurDecl)) in BuildReturnStmt()
4077 else if (isa<CXXConstructorDecl>(CurDecl)) in BuildReturnStmt()
4079 else if (isa<CXXDestructorDecl>(CurDecl)) in BuildReturnStmt()
4083 << CurDecl << FunctionKind << RetValExp->getSourceRange(); in BuildReturnStmt()