Home
last modified time | relevance | path

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

/minix3/external/bsd/llvm/dist/clang/lib/Sema/
H A DSemaChecking.cpp8382 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove() local
8386 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
8387 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
8389 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
8421 LHSDeclRef = dyn_cast<DeclRefExpr>(LHSBase); in DiagnoseSelfMove()
8423 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
8424 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
8426 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
H A DSemaExpr.cpp9390 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfAssignment() local
9392 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()
9393 LHSDeclRef->getLocation().isMacroID() || in DiagnoseSelfAssignment()
9397 cast<ValueDecl>(LHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()
9409 << LHSDeclRef->getType() in DiagnoseSelfAssignment()