Home
last modified time | relevance | path

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

/external/clang/lib/Sema/
DSemaChecking.cpp8869 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove() local
8873 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
8874 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
8876 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
8908 LHSDeclRef = dyn_cast<DeclRefExpr>(LHSBase); in DiagnoseSelfMove()
8910 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
8911 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
8913 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
DSemaExpr.cpp9897 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfAssignment() local
9899 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()
9900 LHSDeclRef->getLocation().isMacroID() || in DiagnoseSelfAssignment()
9904 cast<ValueDecl>(LHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()
9916 << LHSDeclRef->getType() in DiagnoseSelfAssignment()