Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp18963 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfMove() local
18966 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
18967 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
18970 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
18977 getSelfAssignmentClassMemberCandidate(RHSDeclRef->getDecl())) in DiagnoseSelfMove()
19008 RHSDeclRef = dyn_cast<DeclRefExpr>(RHSBase); in DiagnoseSelfMove()
19009 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
19010 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
19013 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
H A DSemaExpr.cpp15423 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfAssignment() local
15424 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()
15426 RHSDeclRef->getLocation().isMacroID()) in DiagnoseSelfAssignment()
15431 cast<ValueDecl>(RHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()