Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaChecking.cpp10462 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfMove() local
10465 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
10466 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
10469 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
10501 RHSDeclRef = dyn_cast<DeclRefExpr>(RHSBase); in DiagnoseSelfMove()
10502 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
10503 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
10506 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
DSemaExpr.cpp10692 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfAssignment() local
10693 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()
10695 RHSDeclRef->getLocation().isMacroID()) in DiagnoseSelfAssignment()
10700 cast<ValueDecl>(RHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()
/external/llvm-project/clang/lib/Sema/
DSemaChecking.cpp15170 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfMove() local
15173 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
15174 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
15177 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
15209 RHSDeclRef = dyn_cast<DeclRefExpr>(RHSBase); in DiagnoseSelfMove()
15210 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
15211 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
15214 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
DSemaExpr.cpp13672 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfAssignment() local
13673 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()
13675 RHSDeclRef->getLocation().isMacroID()) in DiagnoseSelfAssignment()
13680 cast<ValueDecl>(RHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()