Searched refs:DeclRef (Results 1 – 8 of 8) sorted by relevance
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/ |
| H A D | PropertiesBase.td | 85 def DeclRef : RefPropertyType<"Decl"> { let ConstWhenWriting = 1; } 87 SubclassPropertyType<"CXXRecordDecl", DeclRef>; 89 SubclassPropertyType<"FunctionDecl", DeclRef>; 91 SubclassPropertyType<"NamedDecl", DeclRef>; 93 SubclassPropertyType<"NamespaceDecl", DeclRef>; 95 SubclassPropertyType<"NamespaceAliasDecl", DeclRef>; 97 SubclassPropertyType<"ObjCProtocolDecl", DeclRef>; 99 SubclassPropertyType<"ObjCTypeParamDecl", DeclRef>; 101 SubclassPropertyType<"TagDecl", DeclRef>; 103 SubclassPropertyType<"TemplateDecl", 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> {
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaCoroutine.cpp | 303 ExprResult DeclRef = in buildBuiltinCall() local 305 assert(DeclRef.isUsable() && "Builtin reference cannot fail"); in buildBuiltinCall() 308 S.BuildCallExpr(/*Scope=*/nullptr, DeclRef.get(), Loc, CallArgs, Loc); in buildBuiltinCall() 1185 if (auto *DeclRef = dyn_cast_or_null<DeclRefExpr>(E)) { in diagReturnOnAllocFailure() local 1186 auto *Decl = DeclRef->getDecl(); in diagReturnOnAllocFailure()
|
| H A D | Sema.cpp | 2282 if (const DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E.IgnoreParens())) { in tryExprAsCall() local 2283 if (const FunctionDecl *Fun = dyn_cast<FunctionDecl>(DeclRef->getDecl())) { in tryExprAsCall()
|
| 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 | SemaExpr.cpp | 4181 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E->IgnoreParens())) { in CheckUnaryExprOrTypeTraitOperand() local 4182 if (ParmVarDecl *PVD = dyn_cast<ParmVarDecl>(DeclRef->getFoundDecl())) { in CheckUnaryExprOrTypeTraitOperand() 16418 const DeclRefExpr *DeclRef = CheckPossibleDeref(*this, E); in WarnOnPendingNoDerefs() local 16419 if (DeclRef) { in WarnOnPendingNoDerefs() 16420 const ValueDecl *Decl = DeclRef->getDecl(); in WarnOnPendingNoDerefs() 16462 if (auto *DeclRef = in CheckForImmediateInvocation() local 16464 ExprEvalContexts.back().ReferenceToConsteval.erase(DeclRef); in CheckForImmediateInvocation()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/AST/ |
| H A D | Expr.cpp | 3864 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E)) { in getSourceBitField() local 3865 if (FieldDecl *Field = dyn_cast<FieldDecl>(DeclRef->getDecl())) in getSourceBitField() 3869 if (BindingDecl *BD = dyn_cast<BindingDecl>(DeclRef->getDecl())) in getSourceBitField()
|