Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/Analyses/
H A DLiveVariables.h35 llvm::ImmutableSet<const BindingDecl *> liveBindings;
44 llvm::ImmutableSet<const BindingDecl *> LiveBindings) in LivenessValues()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DItaniumCXXABI.cpp57 using BindingArray = ArrayRef<const BindingDecl*>;
104 using ArrayInfo = llvm::DenseMapInfo<ArrayRef<const BindingDecl*>>;
H A DDeclCXX.cpp2966 if (isa<BindingDecl>(ExtendingDecl)) in getStorageDuration()
3171 void BindingDecl::anchor() {} in anchor()
3173 BindingDecl *BindingDecl::Create(ASTContext &C, DeclContext *DC, in Create()
3175 return new (C, DC) BindingDecl(DC, IdLoc, Id); in Create()
3178 BindingDecl *BindingDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
3179 return new (C, ID) BindingDecl(nullptr, SourceLocation(), nullptr); in CreateDeserialized()
3182 VarDecl *BindingDecl::getHoldingVar() const { in getHoldingVar()
3202 ArrayRef<BindingDecl *> Bindings) { in Create()
3203 size_t Extra = additionalSizeToAlloc<BindingDecl *>(Bindings.size()); in Create()
3211 size_t Extra = additionalSizeToAlloc<BindingDecl *>(NumBindings); in CreateDeserialized()
[all …]
H A DExprClassification.cpp461 isa<BindingDecl>(D) || in ClassifyDecl()
H A DExpr.cpp3869 if (BindingDecl *BD = dyn_cast<BindingDecl>(DeclRef->getDecl())) in getSourceBitField()
3908 if (auto *BD = dyn_cast<BindingDecl>(DRE->getDecl())) in refersToVectorElement()
H A DTextNodeDumper.cpp1722 void TextNodeDumper::VisitBindingDecl(const BindingDecl *D) { in VisitBindingDecl()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/AST/
H A DDeclCXX.h3828 class BindingDecl : public ValueDecl {
3837 BindingDecl(DeclContext *DC, SourceLocation IdLoc, IdentifierInfo *Id) in BindingDecl() function
3845 static BindingDecl *Create(ASTContext &C, DeclContext *DC,
3847 static BindingDecl *CreateDeserialized(ASTContext &C, unsigned ID);
3887 private llvm::TrailingObjects<DecompositionDecl, BindingDecl *> {
3894 ArrayRef<BindingDecl *> Bindings) in DecompositionDecl()
3899 getTrailingObjects<BindingDecl *>()); in DecompositionDecl()
3915 ArrayRef<BindingDecl *> Bindings);
3919 ArrayRef<BindingDecl *> bindings() const { in bindings()
3920 return llvm::makeArrayRef(getTrailingObjects<BindingDecl *>(), NumBindings); in bindings()
H A DTextNodeDumper.h328 void VisitBindingDecl(const BindingDecl *D);
H A DASTNodeTraverser.h440 void VisitBindingDecl(const BindingDecl *D) { in VisitBindingDecl()
H A DRecursiveASTVisitor.h1985 DEF_TRAVERSE_DECL(BindingDecl, {
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DTemplate.h31 class BindingDecl; variable
539 ArrayRef<BindingDecl *> *Bindings = nullptr);
H A DSema.h89 class BindingDecl; variable
2621 NamedDecl *getShadowedDeclaration(const BindingDecl *D,
2654 ArrayRef<BindingDecl *> Bindings = None);
/netbsd-src/external/apache2/llvm/dist/clang/lib/Index/
H A DUSRGeneration.cpp101 void VisitBindingDecl(const BindingDecl *D);
345 void USRGenerator::VisitBindingDecl(const BindingDecl *D) { in VisitBindingDecl()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchers.h358 extern const internal::VariadicDynCastAllOfMatcher<Decl, BindingDecl>
7490 AST_MATCHER_P(BindingDecl, forDecomposition, internal::Matcher<ValueDecl>, in AST_MATCHER_P() argument
7516 internal::Matcher<BindingDecl>, InnerMatcher) { in AST_MATCHER_P2() argument
7539 AST_MATCHER_P(DecompositionDecl, hasAnyBinding, internal::Matcher<BindingDecl>, in AST_MATCHER_P() argument
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp979 Decl *TemplateDeclInstantiator::VisitBindingDecl(BindingDecl *D) { in VisitBindingDecl()
980 auto *NewBD = BindingDecl::Create(SemaRef.Context, Owner, D->getLocation(), in VisitBindingDecl()
989 SmallVector<BindingDecl*, 16> NewBindings; in VisitDecompositionDecl()
991 NewBindings.push_back(cast<BindingDecl>(VisitBindingDecl(OldBD))); in VisitDecompositionDecl()
992 ArrayRef<BindingDecl*> NewBindingArray = NewBindings; in VisitDecompositionDecl()
1010 ArrayRef<BindingDecl*> *Bindings) { in VisitVarDecl()
H A DSemaDeclCXX.cpp840 SmallVector<BindingDecl*, 8> Bindings; in ActOnDecompositionDeclarator()
859 auto *BD = BindingDecl::Create(Context, DC, B.NameLoc, B.Name); in ActOnDecompositionDeclarator()
907 Sema &S, ArrayRef<BindingDecl *> Bindings, ValueDecl *Src, in checkSimpleDecomposition()
934 ArrayRef<BindingDecl *> Bindings, in checkArrayLikeDecomposition()
948 static bool checkArrayDecomposition(Sema &S, ArrayRef<BindingDecl*> Bindings, in checkArrayDecomposition()
956 static bool checkVectorDecomposition(Sema &S, ArrayRef<BindingDecl*> Bindings, in checkVectorDecomposition()
966 ArrayRef<BindingDecl *> Bindings, in checkComplexDecomposition()
1148 InitializingBinding(Sema &S, BindingDecl *BD) : S(S) { in InitializingBinding()
1162 ArrayRef<BindingDecl *> Bindings, in checkTupleLikeDecomposition()
1371 static bool checkMemberDecomposition(Sema &S, ArrayRef<BindingDecl*> Bindings, in checkMemberDecomposition()
[all …]
H A DSemaDecl.cpp6850 bool &AddToScope, ArrayRef<BindingDecl *> Bindings) { in ActOnVariableDeclarator()
7534 else if (isa<BindingDecl>(ShadowedDecl)) in computeShadowedDeclKind()
7575 return isa<VarDecl, FieldDecl, BindingDecl>(ShadowedDecl) ? ShadowedDecl in getShadowedDeclaration()
7596 NamedDecl *Sema::getShadowedDeclaration(const BindingDecl *D, in getShadowedDeclaration()
7602 return isa<VarDecl, FieldDecl, BindingDecl>(ShadowedDecl) ? ShadowedDecl in getShadowedDeclaration()
H A DSemaTemplateInstantiate.cpp773 << cast<BindingDecl>(Active->Entity); in PrintInstantiationStack()
H A DSemaExpr.cpp242 if (isa<BindingDecl>(D)) { in DiagnoseUseOfDecl()
2062 if (auto *BD = dyn_cast<BindingDecl>(D)) in BuildDeclRefExpr()
3352 auto *BD = cast<BindingDecl>(VD); in BuildDeclarationNameExpr()
13612 !isa<BindingDecl>(dcl) && !isa<MSGuidDecl>(dcl)) in CheckAddressOfOperand()
17210 unsigned ValueKind = isa<BindingDecl>(var) ? 1 : 0; in diagnoseUncapturableValueReference()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Serialization/
H A DASTReaderDecl.cpp379 void VisitBindingDecl(BindingDecl *BD);
1519 auto **BDs = DD->getTrailingObjects<BindingDecl *>(); in VisitDecompositionDecl()
1521 BDs[I] = readDeclAs<BindingDecl>(); in VisitDecompositionDecl()
1526 void ASTDeclReader::VisitBindingDecl(BindingDecl *BD) { in VisitBindingDecl()
3994 D = BindingDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp104 void VisitBindingDecl(BindingDecl *D);
1143 void ASTDeclWriter::VisitBindingDecl(BindingDecl *D) { in VisitBindingDecl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp736 const internal::VariadicDynCastAllOfMatcher<Decl, BindingDecl> bindingDecl;
H A DASTMatchFinder.cpp1220 } else if (isa<BindingDecl>(DeclNode)) { in TraverseDecl()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp2599 if (isa<BindingDecl>(D)) { in VisitCommonDeclRefExpr()

12