/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/ |
H A D | LiveVariables.h | 35 llvm::ImmutableSet<const BindingDecl *> liveBindings; 44 llvm::ImmutableSet<const BindingDecl *> LiveBindings) in LivenessValues()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | LiveVariables.cpp | 33 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 D | DeclCXX.cpp | 3088 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 D | ItaniumCXXABI.cpp | 58 using BindingArray = ArrayRef<const BindingDecl*>; 105 using ArrayInfo = llvm::DenseMapInfo<ArrayRef<const BindingDecl*>>;
|
H A D | ExprClassification.cpp | 495 isa<VarDecl, FieldDecl, IndirectFieldDecl, BindingDecl, MSGuidDecl, in ClassifyDecl()
|
H A D | Expr.cpp | 4129 if (BindingDecl *BD = dyn_cast<BindingDecl>(DeclRef->getDecl())) in getSourceBitField() 4174 if (auto *BD = dyn_cast<BindingDecl>(DRE->getDecl())) in refersToVectorElement()
|
H A D | DeclBase.cpp | 1181 if (isa<BindingDecl>(this)) in getFunctionType()
|
H A D | TextNodeDumper.cpp | 2280 void TextNodeDumper::VisitBindingDecl(const BindingDecl *D) { in VisitBindingDecl()
|
H A D | ASTImporter.cpp | 471 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 D | ASTOps.h | 125 bool TraverseBindingDecl(BindingDecl *BD) { in TraverseBindingDecl()
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | DeclCXX.h | 4114 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 D | TextNodeDumper.h | 363 void VisitBindingDecl(const BindingDecl *D);
|
H A D | ASTNodeTraverser.h | 566 void VisitBindingDecl(const BindingDecl *D) { in VisitBindingDecl()
|
/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Template.h | 32 class BindingDecl; variable 642 ArrayRef<BindingDecl *> *Bindings = nullptr);
|
H A D | Sema.h | 96 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 D | USRGeneration.cpp | 103 void VisitBindingDecl(const BindingDecl *D); 367 void USRGenerator::VisitBindingDecl(const BindingDecl *D) { in VisitBindingDecl()
|
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 362 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 D | ASTReaderDecl.cpp | 389 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 D | ASTWriterDecl.cpp | 108 void VisitBindingDecl(BindingDecl *D); 1266 void ASTDeclWriter::VisitBindingDecl(BindingDecl *D) { in VisitBindingDecl()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplateInstantiateDecl.cpp | 1158 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 D | SemaDeclCXX.cpp | 105 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 D | SemaExpr.cpp | 247 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 D | SemaLambda.cpp | 1247 if (auto *BD = R.getAsSingle<BindingDecl>()) in ActOnLambdaExpressionAfterIntroducer()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGDebugInfo.h | 645 llvm::DILocalVariable *EmitDeclare(const BindingDecl *decl, llvm::Value *AI,
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | DataflowEnvironment.cpp | 855 assert(D.getType()->isReferenceType() || isa<BindingDecl>(D) || in setStorageLocation()
|