Lines Matching refs:ValueDecl
229 QualType type = cast<ValueDecl>(D)->getType();
1269 Sema::BuildDeclRefExpr(ValueDecl *D, QualType Ty, ExprValueKind VK,
1279 Sema::BuildDeclRefExpr(ValueDecl *D, QualType Ty, ExprValueKind VK,
1502 if (isa<ValueDecl>(ND) || isa<FunctionTemplateDecl>(ND)) {
2204 ValueDecl *VD = dyn_cast<ValueDecl>(D);
2236 // Ignore all the non-ValueDecl kinds.
7497 static ValueDecl *getPrimaryDecl(Expr *E) {
7611 ValueDecl *dcl = getPrimaryDecl(op);
7853 const ValueDecl *LHSDecl =
7854 cast<ValueDecl>(LHSDeclRef->getDecl()->getCanonicalDecl());
7855 const ValueDecl *RHSDecl =
7856 cast<ValueDecl>(RHSDeclRef->getDecl()->getCanonicalDecl());
8440 ValueDecl *VD = DRE->getDecl();
10841 ExprResult resolveDecl(Expr *E, ValueDecl *VD) {
10944 ExprResult resolveDecl(Expr *E, ValueDecl *VD);
11089 ExprResult RebuildUnknownAnyExpr::resolveDecl(Expr *E, ValueDecl *VD) {