Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp15780 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfMove() local
15783 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
15784 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
15787 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
15819 RHSDeclRef = dyn_cast<DeclRefExpr>(RHSBase); in DiagnoseSelfMove()
15820 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
15821 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
15824 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
H A DSemaExpr.cpp13912 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfAssignment() local
13913 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()
13915 RHSDeclRef->getLocation().isMacroID()) in DiagnoseSelfAssignment()
13920 cast<ValueDecl>(RHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()