Home
last modified time | relevance | path

Searched refs:RHSDeclRef (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaChecking.cpp16888 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfMove() local
16891 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
16892 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
16895 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
16902 getSelfAssignmentClassMemberCandidate(RHSDeclRef->getDecl())) in DiagnoseSelfMove()
16933 RHSDeclRef = dyn_cast<DeclRefExpr>(RHSBase); in DiagnoseSelfMove()
16934 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
16935 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
16938 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
H A DSemaExpr.cpp14657 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfAssignment() local
14658 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()
14660 RHSDeclRef->getLocation().isMacroID()) in DiagnoseSelfAssignment()
14665 cast<ValueDecl>(RHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()