Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaChecking.cpp13297 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfMove() local
13301 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
13302 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
13304 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
13336 LHSDeclRef = dyn_cast<DeclRefExpr>(LHSBase); in DiagnoseSelfMove()
13338 if (LHSDeclRef && RHSDeclRef) { in DiagnoseSelfMove()
13339 if (!LHSDeclRef->getDecl() || !RHSDeclRef->getDecl()) in DiagnoseSelfMove()
13341 if (LHSDeclRef->getDecl()->getCanonicalDecl() != in DiagnoseSelfMove()
H A DSemaExpr.cpp12113 const DeclRefExpr *LHSDeclRef = dyn_cast<DeclRefExpr>(LHSExpr); in DiagnoseSelfAssignment() local
12115 if (!LHSDeclRef || !RHSDeclRef || in DiagnoseSelfAssignment()
12116 LHSDeclRef->getLocation().isMacroID() || in DiagnoseSelfAssignment()
12120 cast<ValueDecl>(LHSDeclRef->getDecl()->getCanonicalDecl()); in DiagnoseSelfAssignment()
12133 << LHSDeclRef->getType() << LHSExpr->getSourceRange() in DiagnoseSelfAssignment()