Searched refs:DeclRef (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | PropertiesBase.td | 86 def DeclRef : RefPropertyType<"Decl"> { let ConstWhenWriting = 1; } 88 SubclassPropertyType<"CXXRecordDecl", DeclRef>; 90 SubclassPropertyType<"FunctionDecl", DeclRef>; 92 SubclassPropertyType<"NamedDecl", DeclRef>; 94 SubclassPropertyType<"NamespaceDecl", DeclRef>; 96 SubclassPropertyType<"NamespaceAliasDecl", DeclRef>; 98 SubclassPropertyType<"ObjCProtocolDecl", DeclRef>; 100 SubclassPropertyType<"ObjCTypeParamDecl", DeclRef>; 102 SubclassPropertyType<"TagDecl", DeclRef>; 104 SubclassPropertyType<"TemplateDecl", DeclRef>; [all …]
|
H A D | TypeProperties.td | 393 def : Property<"declaration", DeclRef> { 416 def : Property<"declaration", DeclRef> { 554 def : Property<"declaration", DeclRef> { 608 def : Property<"declaration", DeclRef> { 789 def : Property<"associatedDecl", DeclRef> { 821 def : Property<"associatedDecl", DeclRef> { 936 def : Property<"declaration", DeclRef> {
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaCoroutine.cpp | 1219 if (auto *DeclRef = dyn_cast_or_null<DeclRefExpr>(E)) { in diagReturnOnAllocFailure() local 1220 auto *Decl = DeclRef->getDecl(); in diagReturnOnAllocFailure()
|
H A D | SemaStmt.cpp | 1395 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(PrevCase)) { in ActOnFinishSwitchStmt() local 1396 PrevString = DeclRef->getDecl()->getName(); in ActOnFinishSwitchStmt() 1398 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(CurrCase)) { in ActOnFinishSwitchStmt() local 1399 CurrString = DeclRef->getDecl()->getName(); in ActOnFinishSwitchStmt()
|
H A D | Sema.cpp | 2539 if (const auto *DeclRef = dyn_cast<DeclRefExpr>(E.IgnoreParens())) { in tryExprAsCall() local 2540 if (const auto *Fun = dyn_cast<FunctionDecl>(DeclRef->getDecl())) { in tryExprAsCall()
|
H A D | SemaExpr.cpp | 4280 if (const auto *DeclRef = dyn_cast<DeclRefExpr>(E->IgnoreParens())) { in CheckUnaryExprOrTypeTraitOperand() local 4281 if (const auto *PVD = dyn_cast<ParmVarDecl>(DeclRef->getFoundDecl())) { in CheckUnaryExprOrTypeTraitOperand() 6618 ExprResult DeclRef = in BuildBuiltinCallExpr() local 6620 assert(DeclRef.isUsable() && "Builtin reference cannot fail"); in BuildBuiltinCallExpr() 6623 BuildCallExpr(/*Scope=*/nullptr, DeclRef.get(), Loc, CallArgs, Loc); in BuildBuiltinCallExpr() 17238 const DeclRefExpr *DeclRef = CheckPossibleDeref(*this, E); in WarnOnPendingNoDerefs() local 17239 if (DeclRef) { in WarnOnPendingNoDerefs() 17240 const ValueDecl *Decl = DeclRef->getDecl(); in WarnOnPendingNoDerefs() 17274 if (auto *DeclRef = in MarkExpressionAsImmediateEscalating() local 17276 DeclRef->setIsImmediateEscalating(true); in MarkExpressionAsImmediateEscalating() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | Expr.cpp | 4124 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E)) { in getSourceBitField() local 4125 if (FieldDecl *Field = dyn_cast<FieldDecl>(DeclRef->getDecl())) in getSourceBitField() 4129 if (BindingDecl *BD = dyn_cast<BindingDecl>(DeclRef->getDecl())) in getSourceBitField()
|
H A D | ASTImporter.cpp | 3490 if (const auto *DeclRef = dyn_cast<DeclRefExpr>(CurrentS)) { in isAncestorDeclContextOf() local 3491 if (const Decl *D = DeclRef->getDecl()) in isAncestorDeclContextOf()
|