Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaChecking.cpp9440 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove() local
9444 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
9445 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
9447 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
9479 LHSDeclRef = dyn_cast<DeclRefExpr>(LHSBase); in DiagnoseSelfMove()
9481 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
9482 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
9484 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
DSemaExpr.cpp10175 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfAssignment() local
10177 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()
10178 LHSDeclRef->getLocation().isMacroID() || in DiagnoseSelfAssignment()
10182 cast<ValueDecl>(LHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()
10194 << LHSDeclRef->getType() in DiagnoseSelfAssignment()