Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaChecking.cpp9441 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfMove() local
9444 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
9445 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
9448 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
9480 RHSDeclRef = dyn_cast<DeclRefExpr>(RHSBase); in DiagnoseSelfMove()
9481 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
9482 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
9485 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
DSemaExpr.cpp10176 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfAssignment() local
10177 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()
10179 RHSDeclRef->getLocation().isMacroID()) in DiagnoseSelfAssignment()
10184 cast<ValueDecl>(RHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()