Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp15779 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove() local
15783 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
15784 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
15786 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
15818 LHSDeclRef = dyn_cast<DeclRefExpr>(LHSBase); in DiagnoseSelfMove()
15820 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
15821 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
15823 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
H A DSemaExpr.cpp13911 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfAssignment() local
13913 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()
13914 LHSDeclRef->getLocation().isMacroID() || in DiagnoseSelfAssignment()
13918 cast<ValueDecl>(LHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()
13931 << LHSDeclRef->getType() << LHSExpr->getSourceRange() in DiagnoseSelfAssignment()