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.cpp13600 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfMove() local
13603 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
13604 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
13607 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
13614 getSelfAssignmentClassMemberCandidate(RHSDeclRef->getDecl())) in DiagnoseSelfMove()
13645 RHSDeclRef = dyn_cast<DeclRefExpr>(RHSBase); in DiagnoseSelfMove()
13646 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
13647 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
13650 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
H A DSemaExpr.cpp14422 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfAssignment() local
14423 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()
14425 RHSDeclRef->getLocation().isMacroID()) in DiagnoseSelfAssignment()
14430 cast<ValueDecl>(RHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()