Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaChecking.cpp17167 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfMove() local
17170 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
17171 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
17174 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
17181 getSelfAssignmentClassMemberCandidate(RHSDeclRef->getDecl())) in DiagnoseSelfMove()
17212 RHSDeclRef = dyn_cast<DeclRefExpr>(RHSBase); in DiagnoseSelfMove()
17213 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
17214 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
17217 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
H A DSemaExpr.cpp14936 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfAssignment() local
14937 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()
14939 RHSDeclRef->getLocation().isMacroID()) in DiagnoseSelfAssignment()
14944 cast<ValueDecl>(RHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()