Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp15033 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfMove() local
15036 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
15037 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
15040 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
15047 getSelfAssignmentClassMemberCandidate(RHSDeclRef->getDecl())) in DiagnoseSelfMove()
15078 RHSDeclRef = dyn_cast<DeclRefExpr>(RHSBase); in DiagnoseSelfMove()
15079 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
15080 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
15083 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
H A DSemaExpr.cpp14818 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfAssignment() local
14819 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()
14821 RHSDeclRef->getLocation().isMacroID()) in DiagnoseSelfAssignment()
14826 cast<ValueDecl>(RHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()