Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/clang/include/clang/Analysis/Analyses/
H A DLiveVariables.h35 llvm::ImmutableSet<const BindingDecl *> liveBindings;
44 llvm::ImmutableSet<const BindingDecl *> LiveBindings) in LivenessValues()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DDeclCXX.cpp3003 if (isa<BindingDecl>(ExtendingDecl)) in getStorageDuration()
3253 assert((isa<VarDecl, BindingDecl>(this)) && in getPotentiallyDecomposedVarDecl()
3257 if (auto *BD = llvm::dyn_cast<BindingDecl>(this)) in getPotentiallyDecomposedVarDecl()
3262 void BindingDecl::anchor() {} in anchor()
3264 BindingDecl *BindingDecl::Create(ASTContext &C, DeclContext *DC, in Create()
3266 return new (C, DC) BindingDecl(DC, IdLoc, Id); in Create()
3269 BindingDecl *BindingDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
3270 return new (C, ID) BindingDecl(nullptr, SourceLocation(), nullptr); in CreateDeserialized()
3273 VarDecl *BindingDecl::getHoldingVar() const { in getHoldingVar()
3293 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.cpp477 isa<VarDecl, FieldDecl, IndirectFieldDecl, BindingDecl, MSGuidDecl, in ClassifyDecl()
H A DExpr.cpp4055 if (BindingDecl *BD = dyn_cast<BindingDecl>(DeclRef->getDecl())) in getSourceBitField()
4093 if (auto *BD = dyn_cast<BindingDecl>(DRE->getDecl())) in refersToVectorElement()
H A DTextNodeDumper.cpp1829 void TextNodeDumper::VisitBindingDecl(const BindingDecl *D) { in VisitBindingDecl()
H A DASTImporter.cpp515 ExpectedDecl VisitBindingDecl(BindingDecl *D);
2275 ExpectedDecl ASTNodeImporter::VisitBindingDecl(BindingDecl *D) { in VisitBindingDecl()
2285 BindingDecl *ToD; in VisitBindingDecl()
4263 SmallVector<BindingDecl *> Bindings(FromDecomp->bindings().size()); in VisitVarDecl()
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DDeclCXX.h4020 class BindingDecl : public ValueDecl {
4029 BindingDecl(DeclContext *DC, SourceLocation IdLoc, IdentifierInfo *Id) in BindingDecl() function
4037 static BindingDecl *Create(ASTContext &C, DeclContext *DC,
4039 static BindingDecl *CreateDeserialized(ASTContext &C, unsigned ID);
4079 private llvm::TrailingObjects<DecompositionDecl, BindingDecl *> {
4086 ArrayRef<BindingDecl *> Bindings) in DecompositionDecl()
4091 getTrailingObjects<BindingDecl *>()); in DecompositionDecl()
4107 ArrayRef<BindingDecl *> Bindings);
4111 ArrayRef<BindingDecl *> bindings() const { in bindings()
4112 return llvm::ArrayRef(getTrailingObjects<BindingDecl *>(), NumBindings); in bindings()
H A DTextNodeDumper.h340 void VisitBindingDecl(const BindingDecl *D);
H A DASTNodeTraverser.h464 void VisitBindingDecl(const BindingDecl *D) { in VisitBindingDecl()
H A DRecursiveASTVisitor.h2111 DEF_TRAVERSE_DECL(BindingDecl, {
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DTemplate.h32 class BindingDecl; variable
612 ArrayRef<BindingDecl *> *Bindings = nullptr);
/openbsd-src/gnu/llvm/clang/lib/Index/
H A DUSRGeneration.cpp101 void VisitBindingDecl(const BindingDecl *D);
349 void USRGenerator::VisitBindingDecl(const BindingDecl *D) { in VisitBindingDecl()
/openbsd-src/gnu/llvm/clang/include/clang/ASTMatchers/
H A DASTMatchers.h361 extern const internal::VariadicDynCastAllOfMatcher<Decl, BindingDecl>
7936 AST_MATCHER_P(BindingDecl, forDecomposition, internal::Matcher<ValueDecl>, in AST_MATCHER_P() argument
7962 internal::Matcher<BindingDecl>, InnerMatcher) { in AST_MATCHER_P2() argument
7985 AST_MATCHER_P(DecompositionDecl, hasAnyBinding, internal::Matcher<BindingDecl>, in AST_MATCHER_P() argument
/openbsd-src/gnu/llvm/clang/lib/Serialization/
H A DASTReaderDecl.cpp383 void VisitBindingDecl(BindingDecl *BD);
1673 auto **BDs = DD->getTrailingObjects<BindingDecl *>(); in VisitDecompositionDecl()
1675 BDs[I] = readDeclAs<BindingDecl>(); in VisitDecompositionDecl()
1680 void ASTDeclReader::VisitBindingDecl(BindingDecl *BD) { in VisitBindingDecl()
3863 D = BindingDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp107 void VisitBindingDecl(BindingDecl *D);
1168 void ASTDeclWriter::VisitBindingDecl(BindingDecl *D) { in VisitBindingDecl()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGDebugInfo.h596 llvm::DILocalVariable *EmitDeclare(const BindingDecl *decl, llvm::Value *AI,
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp1077 Decl *TemplateDeclInstantiator::VisitBindingDecl(BindingDecl *D) { in VisitBindingDecl()
1078 auto *NewBD = BindingDecl::Create(SemaRef.Context, Owner, D->getLocation(), in VisitBindingDecl()
1087 SmallVector<BindingDecl*, 16> NewBindings; in VisitDecompositionDecl()
1089 NewBindings.push_back(cast<BindingDecl>(VisitBindingDecl(OldBD))); in VisitDecompositionDecl()
1090 ArrayRef<BindingDecl*> NewBindingArray = NewBindings; in VisitDecompositionDecl()
1108 ArrayRef<BindingDecl*> *Bindings) { in VisitVarDecl()
H A DSemaDeclCXX.cpp94 if (!isa<VarDecl, BindingDecl>(Decl)) in VisitDeclRefExpr()
873 SmallVector<BindingDecl*, 8> Bindings; in ActOnDecompositionDeclarator()
892 auto *BD = BindingDecl::Create(Context, DC, B.NameLoc, B.Name); in ActOnDecompositionDeclarator()
940 Sema &S, ArrayRef<BindingDecl *> Bindings, ValueDecl *Src, in checkSimpleDecomposition()
967 ArrayRef<BindingDecl *> Bindings, in checkArrayLikeDecomposition()
981 static bool checkArrayDecomposition(Sema &S, ArrayRef<BindingDecl*> Bindings, in checkArrayDecomposition()
989 static bool checkVectorDecomposition(Sema &S, ArrayRef<BindingDecl*> Bindings, in checkVectorDecomposition()
999 ArrayRef<BindingDecl *> Bindings, in checkComplexDecomposition()
1181 InitializingBinding(Sema &S, BindingDecl *BD) : S(S) { in InitializingBinding()
1195 ArrayRef<BindingDecl *> Bindings, in checkTupleLikeDecomposition()
[all …]
H A DSemaExpr.cpp254 if (isa<BindingDecl>(D)) { in DiagnoseUseOfDecl()
2085 bool RefersToCapturedVariable = isa<VarDecl, BindingDecl>(D) && in BuildDeclRefExpr()
2129 if (auto *BD = dyn_cast<BindingDecl>(D)) in BuildDeclRefExpr()
14722 } else if (!isa<FunctionDecl, NonTypeTemplateParmDecl, BindingDecl, in CheckAddressOfOperand()
18580 unsigned ValueKind = isa<BindingDecl>(var) ? 1 : 0; in diagnoseUncapturableValueReferenceOrBinding()
18655 assert((isa<VarDecl, BindingDecl>(Var)) && in isVariableCapturable()
18713 if (isa<BindingDecl>(Var)) { in isVariableCapturable()
18854 BindingDecl *BD = dyn_cast<BindingDecl>(Var); in captureInLambda()
19919 BindingDecl *BD, Expr *E) { in DoMarkBindingDeclReferenced()
19957 if (BindingDecl *Decl = dyn_cast<BindingDecl>(D)) { in MarkExprReferenced()
H A DSemaLambda.cpp1200 if (auto *BD = R.getAsSingle<BindingDecl>()) in ActOnStartOfLambdaDefinition()
H A DSemaDecl.cpp7415 bool &AddToScope, ArrayRef<BindingDecl *> Bindings) { in ActOnVariableDeclarator()
8099 else if (isa<BindingDecl>(ShadowedDecl)) in computeShadowedDeclKind()
8140 return isa<VarDecl, FieldDecl, BindingDecl>(ShadowedDecl) ? ShadowedDecl in getShadowedDeclaration()
8161 NamedDecl *Sema::getShadowedDeclaration(const BindingDecl *D, in getShadowedDeclaration()
8167 return isa<VarDecl, FieldDecl, BindingDecl>(ShadowedDecl) ? ShadowedDecl in getShadowedDeclaration()
/openbsd-src/gnu/llvm/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp737 const internal::VariadicDynCastAllOfMatcher<Decl, BindingDecl> bindingDecl;
H A DASTMatchFinder.cpp1441 } else if (isa<BindingDecl>(DeclNode)) { in TraverseDecl()

12