Home
last modified time | relevance | path

Searched refs:BindingDecl (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DLiveVariables.h35 llvm::ImmutableSet<const BindingDecl *> liveBindings;
44 llvm::ImmutableSet<const BindingDecl *> LiveBindings) in LivenessValues()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DLiveVariables.cpp33 llvm::ImmutableSet<const BindingDecl *>::Factory BSetFact;
74 for (const BindingDecl *BD : DD->bindings()) in isLive()
114 llvm::ImmutableSetRef<const BindingDecl *> in merge()
350 if (const BindingDecl* BD = dyn_cast<BindingDecl>(D)) { in VisitBinaryOperator()
383 if (const auto *BD = dyn_cast<BindingDecl>(D)) { in VisitDeclRefExpr()
471 if (isa<VarDecl>(D) || isa<BindingDecl>(D)) { in VisitUnaryOperator()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDeclCXX.cpp3088 if (isa<BindingDecl>(ExtendingDecl)) in getStorageDuration()
3340 assert((isa<VarDecl, BindingDecl>(this)) && in getPotentiallyDecomposedVarDecl()
3344 if (auto *BD = llvm::dyn_cast<BindingDecl>(this)) in getPotentiallyDecomposedVarDecl()
3349 void BindingDecl::anchor() {} in anchor()
3351 BindingDecl *BindingDecl::Create(ASTContext &C, DeclContext *DC, in Create()
3353 return new (C, DC) BindingDecl(DC, IdLoc, Id); in Create()
3356 BindingDecl *BindingDecl::CreateDeserialized(ASTContext &C, GlobalDeclID ID) { in CreateDeserialized()
3357 return new (C, ID) BindingDecl(nullptr, SourceLocation(), nullptr); in CreateDeserialized()
3360 VarDecl *BindingDecl::getHoldingVar() const { in getHoldingVar()
3380 ArrayRef<BindingDecl *> Bindings) { in Create()
[all …]
H A DItaniumCXXABI.cpp58 using BindingArray = ArrayRef<const BindingDecl*>;
105 using ArrayInfo = llvm::DenseMapInfo<ArrayRef<const BindingDecl*>>;
H A DExprClassification.cpp495 isa<VarDecl, FieldDecl, IndirectFieldDecl, BindingDecl, MSGuidDecl, in ClassifyDecl()
H A DExpr.cpp4129 if (BindingDecl *BD = dyn_cast<BindingDecl>(DeclRef->getDecl())) in getSourceBitField()
4174 if (auto *BD = dyn_cast<BindingDecl>(DRE->getDecl())) in refersToVectorElement()
H A DDeclBase.cpp1181 if (isa<BindingDecl>(this)) in getFunctionType()
H A DTextNodeDumper.cpp2280 void TextNodeDumper::VisitBindingDecl(const BindingDecl *D) { in VisitBindingDecl()
H A DASTImporter.cpp471 ExpectedDecl VisitBindingDecl(BindingDecl *D);
2488 ExpectedDecl ASTNodeImporter::VisitBindingDecl(BindingDecl *D) { in VisitBindingDecl()
2498 BindingDecl *ToD; in VisitBindingDecl()
4558 SmallVector<BindingDecl *> Bindings(FromDecomp->bindings().size()); in VisitVarDecl()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DASTOps.h125 bool TraverseBindingDecl(BindingDecl *BD) { in TraverseBindingDecl()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h4114 class BindingDecl : public ValueDecl {
4123 BindingDecl(DeclContext *DC, SourceLocation IdLoc, IdentifierInfo *Id) in BindingDecl() function
4131 static BindingDecl *Create(ASTContext &C, DeclContext *DC,
4133 static BindingDecl *CreateDeserialized(ASTContext &C, GlobalDeclID ID);
4173 private llvm::TrailingObjects<DecompositionDecl, BindingDecl *> {
4180 ArrayRef<BindingDecl *> Bindings) in DecompositionDecl()
4185 getTrailingObjects<BindingDecl *>()); in DecompositionDecl()
4201 ArrayRef<BindingDecl *> Bindings);
4205 ArrayRef<BindingDecl *> bindings() const { in bindings()
4206 return llvm::ArrayRef(getTrailingObjects<BindingDecl *>(), NumBindings); in bindings()
H A DTextNodeDumper.h363 void VisitBindingDecl(const BindingDecl *D);
H A DASTNodeTraverser.h566 void VisitBindingDecl(const BindingDecl *D) { in VisitBindingDecl()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DTemplate.h32 class BindingDecl; variable
642 ArrayRef<BindingDecl *> *Bindings = nullptr);
H A DSema.h96 class BindingDecl; variable
3478 NamedDecl *getShadowedDeclaration(const BindingDecl *D,
3518 bool &AddToScope, ArrayRef<BindingDecl *> Bindings = std::nullopt);
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp103 void VisitBindingDecl(const BindingDecl *D);
367 void USRGenerator::VisitBindingDecl(const BindingDecl *D) { in VisitBindingDecl()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h362 extern const internal::VariadicDynCastAllOfMatcher<Decl, BindingDecl>
8242 AST_MATCHER_P(BindingDecl, forDecomposition, internal::Matcher<ValueDecl>, in AST_MATCHER_P() argument
8268 internal::Matcher<BindingDecl>, InnerMatcher) { in AST_MATCHER_P2() argument
8291 AST_MATCHER_P(DecompositionDecl, hasAnyBinding, internal::Matcher<BindingDecl>, in AST_MATCHER_P() argument
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp389 void VisitBindingDecl(BindingDecl *BD);
1740 auto **BDs = DD->getTrailingObjects<BindingDecl *>(); in VisitDecompositionDecl()
1742 BDs[I] = readDeclAs<BindingDecl>(); in VisitDecompositionDecl()
1747 void ASTDeclReader::VisitBindingDecl(BindingDecl *BD) { in VisitBindingDecl()
4052 D = BindingDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp108 void VisitBindingDecl(BindingDecl *D);
1266 void ASTDeclWriter::VisitBindingDecl(BindingDecl *D) { in VisitBindingDecl()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp1158 Decl *TemplateDeclInstantiator::VisitBindingDecl(BindingDecl *D) { in VisitBindingDecl()
1159 auto *NewBD = BindingDecl::Create(SemaRef.Context, Owner, D->getLocation(), in VisitBindingDecl()
1168 SmallVector<BindingDecl*, 16> NewBindings; in VisitDecompositionDecl()
1170 NewBindings.push_back(cast<BindingDecl>(VisitBindingDecl(OldBD))); in VisitDecompositionDecl()
1171 ArrayRef<BindingDecl*> NewBindingArray = NewBindings; in VisitDecompositionDecl()
1189 ArrayRef<BindingDecl*> *Bindings) { in VisitVarDecl()
H A DSemaDeclCXX.cpp105 if (!isa<VarDecl, BindingDecl>(Decl)) in VisitDeclRefExpr()
872 SmallVector<BindingDecl*, 8> Bindings; in ActOnDecompositionDeclarator()
894 auto *BD = BindingDecl::Create(Context, DC, B.NameLoc, VarName); in ActOnDecompositionDeclarator()
958 Sema &S, ArrayRef<BindingDecl *> Bindings, ValueDecl *Src, in checkSimpleDecomposition()
985 ArrayRef<BindingDecl *> Bindings, in checkArrayLikeDecomposition()
999 static bool checkArrayDecomposition(Sema &S, ArrayRef<BindingDecl*> Bindings, in checkArrayDecomposition()
1007 static bool checkVectorDecomposition(Sema &S, ArrayRef<BindingDecl*> Bindings, in checkVectorDecomposition()
1017 ArrayRef<BindingDecl *> Bindings, in checkComplexDecomposition()
1199 InitializingBinding(Sema &S, BindingDecl *BD) : S(S) { in InitializingBinding()
1213 ArrayRef<BindingDecl *> Bindings, in checkTupleLikeDecomposition()
[all …]
H A DSemaExpr.cpp247 if (isa<BindingDecl>(D)) { in DiagnoseUseOfDecl()
2268 bool RefersToCapturedVariable = isa<VarDecl, BindingDecl>(D) && in BuildDeclRefExpr()
2312 if (const auto *BD = dyn_cast<BindingDecl>(D)) in BuildDeclRefExpr()
14196 } else if (!isa<FunctionDecl, NonTypeTemplateParmDecl, BindingDecl, in CheckAddressOfOperand()
18221 unsigned ValueKind = isa<BindingDecl>(var) ? 1 : 0; in diagnoseUncapturableValueReferenceOrBinding()
18297 assert((isa<VarDecl, BindingDecl>(Var)) && in isVariableCapturable()
18355 if (isa<BindingDecl>(Var)) { in isVariableCapturable()
18848 if (isa<BindingDecl>(Var)) { in tryCaptureVariable()
19632 BindingDecl *BD, Expr *E) { in DoMarkBindingDeclReferenced()
19720 if (BindingDecl *Decl = dyn_cast<BindingDecl>(D)) { in MarkExprReferenced()
H A DSemaLambda.cpp1247 if (auto *BD = R.getAsSingle<BindingDecl>()) in ActOnLambdaExpressionAfterIntroducer()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDebugInfo.h645 llvm::DILocalVariable *EmitDeclare(const BindingDecl *decl, llvm::Value *AI,
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DDataflowEnvironment.cpp855 assert(D.getType()->isReferenceType() || isa<BindingDecl>(D) || in setStorageLocation()

12