Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaChecking.cpp15438 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove() local
15442 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
15443 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
15445 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
15477 LHSDeclRef = dyn_cast<DeclRefExpr>(LHSBase); in DiagnoseSelfMove()
15479 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
15480 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
15482 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
H A DSemaExpr.cpp13790 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfAssignment() local
13792 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()
13793 LHSDeclRef->getLocation().isMacroID() || in DiagnoseSelfAssignment()
13797 cast<ValueDecl>(LHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()
13810 << LHSDeclRef->getType() << LHSExpr->getSourceRange() in DiagnoseSelfAssignment()