Home
last modified time | relevance | path

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

12

/external/llvm-project/clang/include/clang/Analysis/Analyses/
DLiveVariables.h35 llvm::ImmutableSet<const BindingDecl *> liveBindings;
44 llvm::ImmutableSet<const BindingDecl *> LiveBindings) in LivenessValues()
/external/llvm-project/clang/lib/Analysis/
DLiveVariables.cpp32 llvm::ImmutableSet<const BindingDecl *>::Factory BSetFact;
73 for (const BindingDecl *BD : DD->bindings()) in isLive()
108 llvm::ImmutableSetRef<const BindingDecl *> in merge()
339 if (const BindingDecl* BD = dyn_cast<BindingDecl>(D)) { in VisitBinaryOperator()
368 if (const auto *BD = dyn_cast<BindingDecl>(D)) { in VisitDeclRefExpr()
444 if (isa<VarDecl>(D) || isa<BindingDecl>(D)) { in VisitUnaryOperator()
/external/llvm-project/clang/lib/AST/
DItaniumCXXABI.cpp57 using BindingArray = ArrayRef<const BindingDecl*>;
104 using ArrayInfo = llvm::DenseMapInfo<ArrayRef<const BindingDecl*>>;
DDeclCXX.cpp2947 if (isa<BindingDecl>(ExtendingDecl)) in getStorageDuration()
3152 void BindingDecl::anchor() {} in anchor()
3154 BindingDecl *BindingDecl::Create(ASTContext &C, DeclContext *DC, in Create()
3156 return new (C, DC) BindingDecl(DC, IdLoc, Id); in Create()
3159 BindingDecl *BindingDecl::CreateDeserialized(ASTContext &C, unsigned ID) { in CreateDeserialized()
3160 return new (C, ID) BindingDecl(nullptr, SourceLocation(), nullptr); in CreateDeserialized()
3163 ValueDecl *BindingDecl::getDecomposedDecl() const { in getDecomposedDecl()
3169 VarDecl *BindingDecl::getHoldingVar() const { in getHoldingVar()
3189 ArrayRef<BindingDecl *> Bindings) { in Create()
3190 size_t Extra = additionalSizeToAlloc<BindingDecl *>(Bindings.size()); in Create()
[all …]
DExprClassification.cpp461 isa<BindingDecl>(D) || in ClassifyDecl()
DExpr.cpp3789 if (BindingDecl *BD = dyn_cast<BindingDecl>(DeclRef->getDecl())) in getSourceBitField()
3828 if (auto *BD = dyn_cast<BindingDecl>(DRE->getDecl())) in refersToVectorElement()
DTextNodeDumper.cpp1720 void TextNodeDumper::VisitBindingDecl(const BindingDecl *D) { in VisitBindingDecl()
DItaniumMangle.cpp656 BindingDecl>(GD.getDecl())) in mangle()
/external/llvm-project/clang/include/clang/Sema/
DTemplate.h31 class BindingDecl; variable
539 ArrayRef<BindingDecl *> *Bindings = nullptr);
DSema.h89 class BindingDecl; variable
2520 ArrayRef<BindingDecl *> Bindings = None);
/external/llvm-project/clang/include/clang/AST/
DDeclCXX.h3807 class BindingDecl : public ValueDecl {
3816 BindingDecl(DeclContext *DC, SourceLocation IdLoc, IdentifierInfo *Id) in BindingDecl() function
3824 static BindingDecl *Create(ASTContext &C, DeclContext *DC,
3826 static BindingDecl *CreateDeserialized(ASTContext &C, unsigned ID);
3866 private llvm::TrailingObjects<DecompositionDecl, BindingDecl *> {
3873 ArrayRef<BindingDecl *> Bindings) in DecompositionDecl()
3878 getTrailingObjects<BindingDecl *>()); in DecompositionDecl()
3894 ArrayRef<BindingDecl *> Bindings);
3898 ArrayRef<BindingDecl *> bindings() const { in bindings()
3899 return llvm::makeArrayRef(getTrailingObjects<BindingDecl *>(), NumBindings); in bindings()
DTextNodeDumper.h330 void VisitBindingDecl(const BindingDecl *D);
DASTNodeTraverser.h439 void VisitBindingDecl(const BindingDecl *D) { in VisitBindingDecl()
DRecursiveASTVisitor.h1965 DEF_TRAVERSE_DECL(BindingDecl, {
/external/llvm-project/clang-tools-extra/clang-tidy/readability/
DFunctionSizeCheck.cpp32 bool VisitBindingDecl(BindingDecl *BD) { in VisitBindingDecl()
/external/llvm-project/clang/lib/Index/
DUSRGeneration.cpp101 void VisitBindingDecl(const BindingDecl *D);
345 void USRGenerator::VisitBindingDecl(const BindingDecl *D) { in VisitBindingDecl()
/external/llvm-project/clang-tools-extra/clangd/
DSemanticHighlighting.cpp93 if (const auto *BD = dyn_cast<BindingDecl>(D)) in kindForDecl()
/external/llvm-project/clang/lib/Sema/
DSemaTemplateInstantiateDecl.cpp947 Decl *TemplateDeclInstantiator::VisitBindingDecl(BindingDecl *D) { in VisitBindingDecl()
948 auto *NewBD = BindingDecl::Create(SemaRef.Context, Owner, D->getLocation(), in VisitBindingDecl()
957 SmallVector<BindingDecl*, 16> NewBindings; in VisitDecompositionDecl()
959 NewBindings.push_back(cast<BindingDecl>(VisitBindingDecl(OldBD))); in VisitDecompositionDecl()
960 ArrayRef<BindingDecl*> NewBindingArray = NewBindings; in VisitDecompositionDecl()
978 ArrayRef<BindingDecl*> *Bindings) { in VisitVarDecl()
DSemaDeclCXX.cpp841 SmallVector<BindingDecl*, 8> Bindings; in ActOnDecompositionDeclarator()
870 auto *BD = BindingDecl::Create(Context, DC, B.NameLoc, B.Name); in ActOnDecompositionDeclarator()
900 Sema &S, ArrayRef<BindingDecl *> Bindings, ValueDecl *Src, in checkSimpleDecomposition()
926 ArrayRef<BindingDecl *> Bindings, in checkArrayLikeDecomposition()
940 static bool checkArrayDecomposition(Sema &S, ArrayRef<BindingDecl*> Bindings, in checkArrayDecomposition()
948 static bool checkVectorDecomposition(Sema &S, ArrayRef<BindingDecl*> Bindings, in checkVectorDecomposition()
958 ArrayRef<BindingDecl *> Bindings, in checkComplexDecomposition()
1132 InitializingBinding(Sema &S, BindingDecl *BD) : S(S) { in InitializingBinding()
1146 ArrayRef<BindingDecl *> Bindings, in checkTupleLikeDecomposition()
1354 static bool checkMemberDecomposition(Sema &S, ArrayRef<BindingDecl*> Bindings, in checkMemberDecomposition()
[all …]
DSemaTemplateInstantiate.cpp773 << cast<BindingDecl>(Active->Entity); in PrintInstantiationStack()
DSemaExpr.cpp241 if (isa<BindingDecl>(D)) { in DiagnoseUseOfDecl()
2065 if (auto *BD = dyn_cast<BindingDecl>(D)) in BuildDeclRefExpr()
3356 auto *BD = cast<BindingDecl>(VD); in BuildDeclarationNameExpr()
13493 !isa<BindingDecl>(dcl) && !isa<MSGuidDecl>(dcl)) in CheckAddressOfOperand()
17049 unsigned ValueKind = isa<BindingDecl>(var) ? 1 : 0; in diagnoseUncapturableValueReference()
/external/llvm-project/clang/lib/Serialization/
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()
3992 D = BindingDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
DASTWriterDecl.cpp105 void VisitBindingDecl(BindingDecl *D);
1143 void ASTDeclWriter::VisitBindingDecl(BindingDecl *D) { in VisitBindingDecl()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp2594 if (isa<BindingDecl>(D)) { in VisitCommonDeclRefExpr()
/external/llvm-project/clang/lib/CodeGen/
DCGExpr.cpp2845 if (const auto *BD = dyn_cast<BindingDecl>(ND)) in EmitDeclRefLValue()

12