Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaChecking.cpp15439 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfMove() local
15442 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
15443 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
15446 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
15478 RHSDeclRef = dyn_cast<DeclRefExpr>(RHSBase); in DiagnoseSelfMove()
15479 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
15480 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
15483 RHSDeclRef->getDecl()->getCanonicalDecl()) in DiagnoseSelfMove()
H A DSemaExpr.cpp13791 const DeclRefExpr *RHSDeclRef = dyn_cast<DeclRefExpr>(RHSExpr); in DiagnoseSelfAssignment() local
13792 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()
13794 RHSDeclRef->getLocation().isMacroID()) in DiagnoseSelfAssignment()
13799 cast<ValueDecl>(RHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()