Lines Matching refs:CurDecl
4030 NamedDecl *CurDecl = getCurFunctionOrMethodDecl(); in BuildReturnStmt() local
4032 if (isa<ObjCMethodDecl>(CurDecl)) in BuildReturnStmt()
4034 else if (isa<CXXConstructorDecl>(CurDecl)) in BuildReturnStmt()
4036 else if (isa<CXXDestructorDecl>(CurDecl)) in BuildReturnStmt()
4040 << CurDecl << FunctionKind << RetValExp->getSourceRange(); in BuildReturnStmt()
4052 NamedDecl *CurDecl = getCurFunctionOrMethodDecl(); in BuildReturnStmt() local
4053 if (isa<CXXConstructorDecl>(CurDecl) || in BuildReturnStmt()
4054 isa<CXXDestructorDecl>(CurDecl)) in BuildReturnStmt()
4070 NamedDecl *CurDecl = getCurFunctionOrMethodDecl(); in BuildReturnStmt() local
4071 Diag(ReturnLoc, D) << CurDecl << isa<CXXDestructorDecl>(CurDecl) in BuildReturnStmt()
4077 NamedDecl *CurDecl = getCurFunctionOrMethodDecl(); in BuildReturnStmt() local
4080 if (isa<ObjCMethodDecl>(CurDecl)) in BuildReturnStmt()
4082 else if (isa<CXXConstructorDecl>(CurDecl)) in BuildReturnStmt()
4084 else if (isa<CXXDestructorDecl>(CurDecl)) in BuildReturnStmt()
4088 << CurDecl << FunctionKind << RetValExp->getSourceRange(); in BuildReturnStmt()