Home
last modified time | relevance | path

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

12

/freebsd-13.1/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-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DLiveVariables.cpp32 llvm::ImmutableSet<const BindingDecl *>::Factory BSetFact;
73 for (const BindingDecl *BD : DD->bindings()) in isLive()
108 llvm::ImmutableSetRef<const BindingDecl *> in merge()
344 if (const BindingDecl* BD = dyn_cast<BindingDecl>(D)) { in VisitBinaryOperator()
373 if (const auto *BD = dyn_cast<BindingDecl>(D)) { in VisitDeclRefExpr()
449 if (isa<VarDecl>(D) || isa<BindingDecl>(D)) { in VisitUnaryOperator()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DItaniumCXXABI.cpp57 using BindingArray = ArrayRef<const BindingDecl*>;
104 using ArrayInfo = llvm::DenseMapInfo<ArrayRef<const BindingDecl*>>;
H A DDeclCXX.cpp2952 if (isa<BindingDecl>(ExtendingDecl)) in getStorageDuration()
3195 void BindingDecl::anchor() {} in anchor()
3197 BindingDecl *BindingDecl::Create(ASTContext &C, DeclContext *DC, in Create()
3199 return new (C, DC) BindingDecl(DC, IdLoc, Id); in Create()
3202 BindingDecl *BindingDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
3203 return new (C, ID) BindingDecl(nullptr, SourceLocation(), nullptr); in CreateDeserialized()
3206 VarDecl *BindingDecl::getHoldingVar() const { in getHoldingVar()
3227 size_t Extra = additionalSizeToAlloc<BindingDecl *>(Bindings.size()); in Create()
3235 size_t Extra = additionalSizeToAlloc<BindingDecl *>(NumBindings); in CreateDeserialized()
3241 auto *Trail = Result->getTrailingObjects<BindingDecl *>(); in CreateDeserialized()
[all …]
H A DExprClassification.cpp470 isa<BindingDecl>(D) || in ClassifyDecl()
H A DExpr.cpp3941 if (BindingDecl *BD = dyn_cast<BindingDecl>(DeclRef->getDecl())) in getSourceBitField()
3979 if (auto *BD = dyn_cast<BindingDecl>(DRE->getDecl())) in refersToVectorElement()
H A DTextNodeDumper.cpp1774 void TextNodeDumper::VisitBindingDecl(const BindingDecl *D) { in VisitBindingDecl()
H A DASTImporter.cpp499 ExpectedDecl VisitBindingDecl(BindingDecl *D);
2295 ExpectedDecl ASTNodeImporter::VisitBindingDecl(BindingDecl *D) { in VisitBindingDecl()
2305 BindingDecl *ToD; in VisitBindingDecl()
4103 SmallVector<BindingDecl *> Bindings(FromDecomp->bindings().size()); in VisitVarDecl()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DTemplate.h31 class BindingDecl; variable
539 ArrayRef<BindingDecl *> *Bindings = nullptr);
H A DSema.h92 class BindingDecl; variable
2657 NamedDecl *getShadowedDeclaration(const BindingDecl *D,
2690 ArrayRef<BindingDecl *> Bindings = None);
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h3958 class BindingDecl : public ValueDecl {
3967 BindingDecl(DeclContext *DC, SourceLocation IdLoc, IdentifierInfo *Id) in BindingDecl() function
3975 static BindingDecl *Create(ASTContext &C, DeclContext *DC,
3977 static BindingDecl *CreateDeserialized(ASTContext &C, unsigned ID);
4017 private llvm::TrailingObjects<DecompositionDecl, BindingDecl *> {
4024 ArrayRef<BindingDecl *> Bindings) in DecompositionDecl()
4029 getTrailingObjects<BindingDecl *>()); in DecompositionDecl()
4045 ArrayRef<BindingDecl *> Bindings);
4049 ArrayRef<BindingDecl *> bindings() const { in bindings()
4050 return llvm::makeArrayRef(getTrailingObjects<BindingDecl *>(), NumBindings); in bindings()
H A DTextNodeDumper.h333 void VisitBindingDecl(const BindingDecl *D);
H A DASTNodeTraverser.h464 void VisitBindingDecl(const BindingDecl *D) { in VisitBindingDecl()
H A DRecursiveASTVisitor.h1999 DEF_TRAVERSE_DECL(BindingDecl, {
/freebsd-13.1/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp101 void VisitBindingDecl(const BindingDecl *D);
345 void USRGenerator::VisitBindingDecl(const BindingDecl *D) { in VisitBindingDecl()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h358 extern const internal::VariadicDynCastAllOfMatcher<Decl, BindingDecl>
7502 AST_MATCHER_P(BindingDecl, forDecomposition, internal::Matcher<ValueDecl>, in AST_MATCHER_P() argument
7528 internal::Matcher<BindingDecl>, InnerMatcher) { in AST_MATCHER_P2() argument
7551 AST_MATCHER_P(DecompositionDecl, hasAnyBinding, internal::Matcher<BindingDecl>, in AST_MATCHER_P() argument
/freebsd-13.1/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp380 void VisitBindingDecl(BindingDecl *BD);
1521 auto **BDs = DD->getTrailingObjects<BindingDecl *>(); in VisitDecompositionDecl()
1523 BDs[I] = readDeclAs<BindingDecl>(); in VisitDecompositionDecl()
1528 void ASTDeclReader::VisitBindingDecl(BindingDecl *BD) { in VisitBindingDecl()
4027 D = BindingDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp105 void VisitBindingDecl(BindingDecl *D);
1145 void ASTDeclWriter::VisitBindingDecl(BindingDecl *D) { in VisitBindingDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp1015 Decl *TemplateDeclInstantiator::VisitBindingDecl(BindingDecl *D) { in VisitBindingDecl()
1016 auto *NewBD = BindingDecl::Create(SemaRef.Context, Owner, D->getLocation(), in VisitBindingDecl()
1025 SmallVector<BindingDecl*, 16> NewBindings; in VisitDecompositionDecl()
1027 NewBindings.push_back(cast<BindingDecl>(VisitBindingDecl(OldBD))); in VisitDecompositionDecl()
1028 ArrayRef<BindingDecl*> NewBindingArray = NewBindings; in VisitDecompositionDecl()
1046 ArrayRef<BindingDecl*> *Bindings) { in VisitVarDecl()
H A DSemaDeclCXX.cpp838 SmallVector<BindingDecl*, 8> Bindings; in ActOnDecompositionDeclarator()
857 auto *BD = BindingDecl::Create(Context, DC, B.NameLoc, B.Name); in ActOnDecompositionDeclarator()
905 Sema &S, ArrayRef<BindingDecl *> Bindings, ValueDecl *Src, in checkSimpleDecomposition()
932 ArrayRef<BindingDecl *> Bindings, in checkArrayLikeDecomposition()
946 static bool checkArrayDecomposition(Sema &S, ArrayRef<BindingDecl*> Bindings, in checkArrayDecomposition()
954 static bool checkVectorDecomposition(Sema &S, ArrayRef<BindingDecl*> Bindings, in checkVectorDecomposition()
964 ArrayRef<BindingDecl *> Bindings, in checkComplexDecomposition()
1146 InitializingBinding(Sema &S, BindingDecl *BD) : S(S) { in InitializingBinding()
1160 ArrayRef<BindingDecl *> Bindings, in checkTupleLikeDecomposition()
1369 static bool checkMemberDecomposition(Sema &S, ArrayRef<BindingDecl*> Bindings, in checkMemberDecomposition()
[all …]
H A DSemaDecl.cpp6917 bool &AddToScope, ArrayRef<BindingDecl *> Bindings) { in ActOnVariableDeclarator()
7600 else if (isa<BindingDecl>(ShadowedDecl)) in computeShadowedDeclKind()
7641 return isa<VarDecl, FieldDecl, BindingDecl>(ShadowedDecl) ? ShadowedDecl in getShadowedDeclaration()
7662 NamedDecl *Sema::getShadowedDeclaration(const BindingDecl *D, in getShadowedDeclaration()
7668 return isa<VarDecl, FieldDecl, BindingDecl>(ShadowedDecl) ? ShadowedDecl in getShadowedDeclaration()
H A DSemaTemplateInstantiate.cpp773 << cast<BindingDecl>(Active->Entity); in PrintInstantiationStack()
/freebsd-13.1/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp736 const internal::VariadicDynCastAllOfMatcher<Decl, BindingDecl> bindingDecl;
H A DASTMatchFinder.cpp1220 } else if (isa<BindingDecl>(DeclNode)) { in TraverseDecl()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp2601 if (isa<BindingDecl>(D)) { in VisitCommonDeclRefExpr()

12