Searched refs:DeclRef (Results 1 – 8 of 8) sorted by relevance
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | PropertiesBase.td | 87 SubclassPropertyType<"CXXRecordDecl", DeclRef>; 89 SubclassPropertyType<"FunctionDecl", DeclRef>; 91 SubclassPropertyType<"NamedDecl", DeclRef>; 93 SubclassPropertyType<"NamespaceDecl", DeclRef>; 97 SubclassPropertyType<"ObjCProtocolDecl", DeclRef>; 101 SubclassPropertyType<"TagDecl", DeclRef>; 103 SubclassPropertyType<"TemplateDecl", DeclRef>; 105 SubclassPropertyType<"ConceptDecl", DeclRef>; 111 SubclassPropertyType<"ValueDecl", DeclRef>; 401 def : Property<"fieldDecl", DeclRef> { [all …]
|
| H A D | TypeProperties.td | 356 def : Property<"declaration", DeclRef> { 366 def : Property<"declaration", DeclRef> { 486 def : Property<"declaration", DeclRef> { 540 def : Property<"declaration", DeclRef> { 837 def : Property<"declaration", DeclRef> {
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | Consumed.cpp | 507 void VisitDeclRefExpr(const DeclRefExpr *DeclRef); 832 void ConsumedStmtVisitor::VisitDeclRefExpr(const DeclRefExpr *DeclRef) { in VisitDeclRefExpr() argument 833 if (const auto *Var = dyn_cast_or_null<VarDecl>(DeclRef->getDecl())) in VisitDeclRefExpr() 835 PropagationMap.insert(PairType(DeclRef, PropagationInfo(Var))); in VisitDeclRefExpr()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaCoroutine.cpp | 1149 if (auto *DeclRef = dyn_cast_or_null<DeclRefExpr>(E)) { in diagReturnOnAllocFailure() local 1150 auto *Decl = DeclRef->getDecl(); in diagReturnOnAllocFailure()
|
| H A D | SemaStmt.cpp | 1323 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(PrevCase)) { in ActOnFinishSwitchStmt() local 1324 PrevString = DeclRef->getDecl()->getName(); in ActOnFinishSwitchStmt() 1326 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(CurrCase)) { in ActOnFinishSwitchStmt() local 1327 CurrString = DeclRef->getDecl()->getName(); in ActOnFinishSwitchStmt()
|
| H A D | Sema.cpp | 2352 if (const DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E.IgnoreParens())) { in tryExprAsCall() local 2353 if (const FunctionDecl *Fun = dyn_cast<FunctionDecl>(DeclRef->getDecl())) { in tryExprAsCall()
|
| H A D | SemaExpr.cpp | 4218 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E->IgnoreParens())) { in CheckUnaryExprOrTypeTraitOperand() local 4219 if (ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(DeclRef->getFoundDecl())) { in CheckUnaryExprOrTypeTraitOperand() 6579 ExprResult DeclRef = in BuildBuiltinCallExpr() local 6581 assert(DeclRef.isUsable() && "Builtin reference cannot fail"); in BuildBuiltinCallExpr() 6584 BuildCallExpr(/*Scope=*/nullptr, DeclRef.get(), Loc, CallArgs, Loc); in BuildBuiltinCallExpr() 16577 const DeclRefExpr *DeclRef = CheckPossibleDeref(*this, E); in WarnOnPendingNoDerefs() local 16578 if (DeclRef) { in WarnOnPendingNoDerefs() 16579 const ValueDecl *Decl = DeclRef->getDecl(); in WarnOnPendingNoDerefs() 16621 if (auto *DeclRef = in CheckForImmediateInvocation() local 16623 ExprEvalContexts.back().ReferenceToConsteval.erase(DeclRef); in CheckForImmediateInvocation()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | Expr.cpp | 3936 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E)) { in getSourceBitField() local 3937 if (FieldDecl *Field = dyn_cast<FieldDecl>(DeclRef->getDecl())) in getSourceBitField() 3941 if (BindingDecl *BD = dyn_cast<BindingDecl>(DeclRef->getDecl())) in getSourceBitField()
|