Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
HDSemaChecking.cpp14417 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove() local
14421 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
14422 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
14424 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
14456 LHSDeclRef = dyn_cast<DeclRefExpr>(LHSBase); in DiagnoseSelfMove()
14458 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
14459 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
14461 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
HDSemaExpr.cpp12772 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfAssignment() local
12774 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()
12775 LHSDeclRef->getLocation().isMacroID() || in DiagnoseSelfAssignment()
12779 cast<ValueDecl>(LHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()
12792 << LHSDeclRef->getType() << LHSExpr->getSourceRange() in DiagnoseSelfAssignment()