Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaChecking.cpp10461 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove() local
10465 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
10466 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
10468 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
10500 LHSDeclRef = dyn_cast<DeclRefExpr>(LHSBase); in DiagnoseSelfMove()
10502 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
10503 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
10505 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
DSemaExpr.cpp10691 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfAssignment() local
10693 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()
10694 LHSDeclRef->getLocation().isMacroID() || in DiagnoseSelfAssignment()
10698 cast<ValueDecl>(LHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()
10710 << LHSDeclRef->getType() in DiagnoseSelfAssignment()
/external/llvm-project/clang/lib/Sema/
DSemaChecking.cpp15169 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove() local
15173 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
15174 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
15176 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
15208 LHSDeclRef = dyn_cast<DeclRefExpr>(LHSBase); in DiagnoseSelfMove()
15210 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
15211 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
15213 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
DSemaExpr.cpp13671 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfAssignment() local
13673 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()
13674 LHSDeclRef->getLocation().isMacroID() || in DiagnoseSelfAssignment()
13678 cast<ValueDecl>(LHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()
13691 << LHSDeclRef->getType() << LHSExpr->getSourceRange() in DiagnoseSelfAssignment()