Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Analysis/Analyses/
H A DLiveVariables.h36 llvm::ImmutableSet<const BindingDecl *> liveBindings;
45 llvm::ImmutableSet<const BindingDecl *> LiveBindings) in LivenessValues()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/
H A DLiveVariables.cpp80 llvm::ImmutableSet<const BindingDecl *>::Factory BSetFact;
122 for (const BindingDecl *BD : DD->bindings()) in isLive()
157 llvm::ImmutableSetRef<const BindingDecl *> in merge()
385 if (const BindingDecl* BD = dyn_cast<BindingDecl>(D)) { in VisitBinaryOperator()
414 if (const auto *BD = dyn_cast<BindingDecl>(D)) { in VisitDeclRefExpr()
490 if (isa<VarDecl>(D) || isa<BindingDecl>(D)) { in VisitUnaryOperator()
/freebsd-12.1/contrib/llvm/tools/clang/lib/AST/
H A DItaniumCXXABI.cpp56 using BindingArray = ArrayRef<const BindingDecl*>;
79 using ArrayInfo = llvm::DenseMapInfo<ArrayRef<const BindingDecl*>>;
H A DDeclCXX.cpp2849 void BindingDecl::anchor() {} in anchor()
2851 BindingDecl *BindingDecl::Create(ASTContext &C, DeclContext *DC, in Create()
2853 return new (C, DC) BindingDecl(DC, IdLoc, Id); in Create()
2856 BindingDecl *BindingDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
2857 return new (C, ID) BindingDecl(nullptr, SourceLocation(), nullptr); in CreateDeserialized()
2860 VarDecl *BindingDecl::getHoldingVar() const { in getHoldingVar()
2880 ArrayRef<BindingDecl *> Bindings) { in Create()
2881 size_t Extra = additionalSizeToAlloc<BindingDecl *>(Bindings.size()); in Create()
2889 size_t Extra = additionalSizeToAlloc<BindingDecl *>(NumBindings); in CreateDeserialized()
2895 auto *Trail = Result->getTrailingObjects<BindingDecl *>(); in CreateDeserialized()
[all …]
H A DASTDumper.cpp227 void VisitBindingDecl(const BindingDecl *D);
704 void ASTDumper::VisitBindingDecl(const BindingDecl *D) { in VisitBindingDecl()
H A DExprClassification.cpp447 isa<BindingDecl>(D) || in ClassifyDecl()
H A DExpr.cpp3622 if (BindingDecl *BD = dyn_cast<BindingDecl>(DeclRef->getDecl())) in getSourceBitField()
3661 if (auto *BD = dyn_cast<BindingDecl>(DRE->getDecl())) in refersToVectorElement()
H A DExprConstant.cpp5363 if (const BindingDecl *BD = dyn_cast<BindingDecl>(E->getDecl())) in VisitDeclRefExpr()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclCXX.h3795 class BindingDecl : public ValueDecl {
3802 BindingDecl(DeclContext *DC, SourceLocation IdLoc, IdentifierInfo *Id)
3810 static BindingDecl *Create(ASTContext &C, DeclContext *DC,
3812 static BindingDecl *CreateDeserialized(ASTContext &C, unsigned ID);
3845 private llvm::TrailingObjects<DecompositionDecl, BindingDecl *> {
3852 ArrayRef<BindingDecl *> Bindings)
3857 getTrailingObjects<BindingDecl *>());
3871 ArrayRef<BindingDecl *> Bindings);
3875 ArrayRef<BindingDecl *> bindings() const {
3876 return llvm::makeArrayRef(getTrailingObjects<BindingDecl *>(), NumBindings);
H A DRecursiveASTVisitor.h1929 DEF_TRAVERSE_DECL(BindingDecl, {
H A DExprCXX.h4210 if (isa<BindingDecl>(ExtendingDecl)) in getStorageDuration()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DTemplate.h32 class BindingDecl; variable
484 ArrayRef<BindingDecl *> *Bindings = nullptr);
H A DSema.h80 class BindingDecl; variable
1958 ArrayRef<BindingDecl *> Bindings = None);
/freebsd-12.1/contrib/llvm/tools/clang/lib/Index/
H A DUSRGeneration.cpp100 void VisitBindingDecl(const BindingDecl *D);
339 void USRGenerator::VisitBindingDecl(const BindingDecl *D) { in VisitBindingDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaTemplateInstantiateDecl.cpp685 Decl *TemplateDeclInstantiator::VisitBindingDecl(BindingDecl *D) { in VisitBindingDecl()
686 auto *NewBD = BindingDecl::Create(SemaRef.Context, Owner, D->getLocation(), in VisitBindingDecl()
695 SmallVector<BindingDecl*, 16> NewBindings; in VisitDecompositionDecl()
697 NewBindings.push_back(cast<BindingDecl>(VisitBindingDecl(OldBD))); in VisitDecompositionDecl()
698 ArrayRef<BindingDecl*> NewBindingArray = NewBindings; in VisitDecompositionDecl()
716 ArrayRef<BindingDecl*> *Bindings) { in VisitVarDecl()
H A DSemaDeclCXX.cpp787 SmallVector<BindingDecl*, 8> Bindings; in ActOnDecompositionDeclarator()
816 auto *BD = BindingDecl::Create(Context, DC, B.NameLoc, B.Name); in ActOnDecompositionDeclarator()
846 Sema &S, ArrayRef<BindingDecl *> Bindings, ValueDecl *Src, in checkSimpleDecomposition()
872 ArrayRef<BindingDecl *> Bindings, in checkArrayLikeDecomposition()
886 static bool checkArrayDecomposition(Sema &S, ArrayRef<BindingDecl*> Bindings, in checkArrayDecomposition()
894 static bool checkVectorDecomposition(Sema &S, ArrayRef<BindingDecl*> Bindings, in checkVectorDecomposition()
904 ArrayRef<BindingDecl *> Bindings, in checkComplexDecomposition()
1081 BindingDecl *BD;
1083 BindingDiagnosticTrap(Sema &S, BindingDecl *BD) in BindingDiagnosticTrap()
1093 ArrayRef<BindingDecl *> Bindings, in checkTupleLikeDecomposition()
[all …]
H A DSemaExpr.cpp243 if (isa<BindingDecl>(D)) { in DiagnoseUseOfDecl()
1743 if (auto *BD = dyn_cast<BindingDecl>(D)) in BuildDeclRefExpr()
2975 auto *BD = cast<BindingDecl>(VD); in BuildDeclarationNameExpr()
11935 !isa<BindingDecl>(dcl)) in CheckAddressOfOperand()
14824 unsigned ValueKind = isa<BindingDecl>(var) ? 1 : 0; in diagnoseUncapturableValueReference()
H A DSemaDecl.cpp6263 bool &AddToScope, ArrayRef<BindingDecl *> Bindings) { in ActOnVariableDeclarator()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Serialization/
H A DASTReaderDecl.cpp383 void VisitBindingDecl(BindingDecl *BD);
1451 auto **BDs = DD->getTrailingObjects<BindingDecl *>(); in VisitDecompositionDecl()
1453 BDs[I] = ReadDeclAs<BindingDecl>(); in VisitDecompositionDecl()
1456 void ASTDeclReader::VisitBindingDecl(BindingDecl *BD) { in VisitBindingDecl()
3823 D = BindingDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
H A DASTWriterDecl.cpp103 void VisitBindingDecl(BindingDecl *D);
1084 void ASTDeclWriter::VisitBindingDecl(BindingDecl *D) { in VisitBindingDecl()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp2445 if (isa<BindingDecl>(D)) { in VisitCommonDeclRefExpr()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExpr.cpp2591 if (const auto *BD = dyn_cast<BindingDecl>(ND)) in EmitDeclRefLValue()