Home
last modified time | relevance | path

Searched refs:DeclRef (Results 1 – 9 of 9) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DPropertiesBase.td88 SubclassPropertyType<"CXXRecordDecl", DeclRef>;
90 SubclassPropertyType<"FunctionDecl", DeclRef>;
92 SubclassPropertyType<"NamedDecl", DeclRef>;
102 SubclassPropertyType<"TagDecl", DeclRef>;
104 SubclassPropertyType<"TemplateDecl", DeclRef>;
106 SubclassPropertyType<"ConceptDecl", DeclRef>;
114 SubclassPropertyType<"ValueDecl", DeclRef>;
405 def : Property<"fieldDecl", DeclRef> {
518 def : Property<"decl", DeclRef> {
719 def : Property<"associatedDecl", DeclRef> {
[all …]
H A DTypeProperties.td360 def : Property<"declaration", DeclRef> {
383 def : Property<"declaration", DeclRef> {
507 def : Property<"declaration", DeclRef> {
561 def : Property<"declaration", DeclRef> {
742 def : Property<"associatedDecl", DeclRef> {
774 def : Property<"associatedDecl", DeclRef> {
885 def : Property<"declaration", DeclRef> {
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DConsumed.cpp507 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-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaCoroutine.cpp1309 if (auto *DeclRef = dyn_cast_or_null<DeclRefExpr>(E)) { in diagReturnOnAllocFailure() local
1310 auto *Decl = DeclRef->getDecl(); in diagReturnOnAllocFailure()
H A DSemaStmt.cpp1372 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(PrevCase)) { in ActOnFinishSwitchStmt() local
1373 PrevString = DeclRef->getDecl()->getName(); in ActOnFinishSwitchStmt()
1375 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(CurrCase)) { in ActOnFinishSwitchStmt() local
1376 CurrString = DeclRef->getDecl()->getName(); in ActOnFinishSwitchStmt()
H A DSema.cpp2548 if (const auto *DeclRef = dyn_cast<DeclRefExpr>(E.IgnoreParens())) { in tryExprAsCall() local
2549 if (const auto *Fun = dyn_cast<FunctionDecl>(DeclRef->getDecl())) { in tryExprAsCall()
H A DSemaExpr.cpp4532 if (const auto *DeclRef = dyn_cast<DeclRefExpr>(E->IgnoreParens())) { in CheckUnaryExprOrTypeTraitOperand() local
7396 ExprResult DeclRef = in BuildBuiltinCallExpr() local
7398 assert(DeclRef.isUsable() && "Builtin reference cannot fail"); in BuildBuiltinCallExpr()
18263 const DeclRefExpr *DeclRef = CheckPossibleDeref(*this, E); in WarnOnPendingNoDerefs() local
18264 if (DeclRef) { in WarnOnPendingNoDerefs()
18265 const ValueDecl *Decl = DeclRef->getDecl(); in WarnOnPendingNoDerefs()
18303 if (auto *DeclRef = in MarkExpressionAsImmediateEscalating() local
18305 DeclRef->setIsImmediateEscalating(true); in MarkExpressionAsImmediateEscalating()
18309 DeclRef->setIsImmediateEscalating(true); in MarkExpressionAsImmediateEscalating()
18329 if (auto *DeclRef = in CheckForImmediateInvocation() local
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DExpr.cpp4049 if (DeclRefExpr *DeclRef = dyn_cast<DeclRefExpr>(E)) { in getSourceBitField() local
4050 if (FieldDecl *Field = dyn_cast<FieldDecl>(DeclRef->getDecl())) in getSourceBitField()
4054 if (BindingDecl *BD = dyn_cast<BindingDecl>(DeclRef->getDecl())) in getSourceBitField()
H A DASTImporter.cpp3436 if (const auto *DeclRef = dyn_cast<DeclRefExpr>(CurrentS)) { in isAncestorDeclContextOf() local
3437 if (const Decl *D = DeclRef->getDecl()) in isAncestorDeclContextOf()