Home
last modified time | relevance | path

Searched refs:declRef (Results 1 – 5 of 5) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaCoroutine.cpp1902 ExprResult declRef = S.BuildDeclRefExpr(GroDecl, GroType, VK_LValue, Loc); in makeGroDeclAndReturnStmt() local
1903 if (declRef.isInvalid()) in makeGroDeclAndReturnStmt()
1906 ReturnStmt = S.BuildReturnStmt(Loc, declRef.get()); in makeGroDeclAndReturnStmt()
H A DSemaExpr.cpp13776 DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(E->IgnoreParenCasts()); in CheckForModifiableLvalue() local
13777 if (declRef && isa<VarDecl>(declRef->getDecl())) { in CheckForModifiableLvalue()
13778 VarDecl *var = cast<VarDecl>(declRef->getDecl()); in CheckForModifiableLvalue()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBlocks.cpp964 DeclRefExpr declRef(getContext(), const_cast<VarDecl *>(variable), in EmitBlockLiteral() local
968 src = EmitDeclRefLValue(&declRef).getAddress(); in EmitBlockLiteral()
1038 DeclRefExpr declRef(getContext(), const_cast<VarDecl *>(variable), in EmitBlockLiteral() local
1043 &declRef, VK_PRValue, FPOptionsOverride()); in EmitBlockLiteral()
H A DCGObjC.cpp324 const DeclRefExpr *declRef = dyn_cast<DeclRefExpr>(ice->getSubExpr()); in shouldExtendReceiverForInnerPointerMessage() local
325 if (!declRef) return true; in shouldExtendReceiverForInnerPointerMessage()
326 const VarDecl *var = dyn_cast<VarDecl>(declRef->getDecl()); in shouldExtendReceiverForInnerPointerMessage()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenExpr.cpp1264 } else if (const auto *declRef = dyn_cast<DeclRefExpr>(e)) { in emitCallee() local
1266 const auto *funcDecl = cast<FunctionDecl>(declRef->getDecl()); in emitCallee()