Lines Matching refs:CurDecl
3900 NamedDecl *CurDecl = getCurFunctionOrMethodDecl(); in BuildReturnStmt() local
3902 if (isa<ObjCMethodDecl>(CurDecl)) in BuildReturnStmt()
3904 else if (isa<CXXConstructorDecl>(CurDecl)) in BuildReturnStmt()
3906 else if (isa<CXXDestructorDecl>(CurDecl)) in BuildReturnStmt()
3910 << CurDecl << FunctionKind << RetValExp->getSourceRange(); in BuildReturnStmt()
3922 NamedDecl *CurDecl = getCurFunctionOrMethodDecl(); in BuildReturnStmt() local
3923 if (isa<CXXConstructorDecl>(CurDecl) || in BuildReturnStmt()
3924 isa<CXXDestructorDecl>(CurDecl)) in BuildReturnStmt()
3940 NamedDecl *CurDecl = getCurFunctionOrMethodDecl(); in BuildReturnStmt() local
3941 Diag(ReturnLoc, D) << CurDecl << isa<CXXDestructorDecl>(CurDecl) in BuildReturnStmt()
3947 NamedDecl *CurDecl = getCurFunctionOrMethodDecl(); in BuildReturnStmt() local
3950 if (isa<ObjCMethodDecl>(CurDecl)) in BuildReturnStmt()
3952 else if (isa<CXXConstructorDecl>(CurDecl)) in BuildReturnStmt()
3954 else if (isa<CXXDestructorDecl>(CurDecl)) in BuildReturnStmt()
3958 << CurDecl << FunctionKind << RetValExp->getSourceRange(); in BuildReturnStmt()