Home
last modified time | relevance | path

Searched refs:DecompositionDecl (Results 1 – 25 of 34) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DItaniumCXXABI.cpp165 if (auto *DD = dyn_cast<DecompositionDecl>(VD)) { in getManglingNumber()
H A DDeclCXX.cpp3607 void DecompositionDecl::anchor() {} in anchor()
3609 DecompositionDecl *DecompositionDecl::Create(ASTContext &C, DeclContext *DC, in Create()
3617 DecompositionDecl(C, DC, StartLoc, LSquareLoc, T, TInfo, SC, Bindings); in Create()
3620 DecompositionDecl *DecompositionDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
3625 DecompositionDecl(C, nullptr, SourceLocation(), SourceLocation(), in CreateDeserialized()
3634 void DecompositionDecl::printName(llvm::raw_ostream &OS, in printName()
H A DMicrosoftMangle.cpp552 if (VD && !isa<DecompositionDecl>(D)) { in shouldMangleCXXName()
1192 if (const DecompositionDecl *DD = dyn_cast<DecompositionDecl>(ND)) { in mangleUnqualifiedName()
H A DDeclBase.cpp176 if (auto *DD = dyn_cast<DecompositionDecl>(this)) { in setInvalidDecl()
H A DStmtPrinter.cpp1343 for (const auto &I : cast<DecompositionDecl>(VD)->bindings()) in VisitDeclRefExpr()
H A DItaniumMangle.cpp777 if (isa<DecompositionDecl>(VD)) in shouldMangleCXXName()
1507 if (auto *DD = dyn_cast<DecompositionDecl>(ND)) { in mangleUnqualifiedName()
H A DTextNodeDumper.cpp950 auto *DD = cast<DecompositionDecl>(ND); in dumpBareDeclRef()
H A DExprConstant.cpp5238 const DecompositionDecl *DD);
5246 if (const DecompositionDecl *DD = dyn_cast<DecompositionDecl>(D); in EvaluateDecl()
5254 const DecompositionDecl *DD) { in EvaluateDecompositionDeclInit()
5265 if (auto *DD = dyn_cast_if_present<DecompositionDecl>(VD)) { in MaybeEvaluateDeferredVarDeclInit()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DLiveVariables.cpp73 if (const auto *DD = dyn_cast<DecompositionDecl>(D)) { in isLive()
435 if (const auto *DD = dyn_cast<DecompositionDecl>(DI)) { in VisitDeclStmt()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDeclCXX.h66 class DecompositionDecl; variable
4238 class DecompositionDecl final
4240 private llvm::TrailingObjects<DecompositionDecl, BindingDecl *> {
4244 DecompositionDecl(ASTContext &C, DeclContext *DC, SourceLocation StartLoc, in DecompositionDecl() function
4268 static DecompositionDecl *Create(ASTContext &C, DeclContext *DC,
4274 static DecompositionDecl *CreateDeserialized(ASTContext &C, GlobalDeclID ID,
H A DASTNodeTraverser.h590 void VisitDecompositionDecl(const DecompositionDecl *D) { in VisitDecompositionDecl()
H A DRecursiveASTVisitor.h2176 DEF_TRAVERSE_DECL(DecompositionDecl, {
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DTransfer.cpp255 if (const auto *Decomp = dyn_cast<DecompositionDecl>(&D)) { in ProcessVarDecl()
/freebsd/contrib/llvm-project/clang/lib/Index/
H A DIndexDecl.cpp314 bool VisitDecompositionDecl(const DecompositionDecl *D) { in VisitDecompositionDecl()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h354 extern const internal::VariadicDynCastAllOfMatcher<Decl, DecompositionDecl>
8338 AST_MATCHER_P2(DecompositionDecl, hasBinding, unsigned, N, in AST_MATCHER_P2() argument
8362 AST_MATCHER_P(DecompositionDecl, hasAnyBinding, internal::Matcher<BindingDecl>, in AST_MATCHER_P() argument
/freebsd/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchersInternal.cpp761 const internal::VariadicDynCastAllOfMatcher<Decl, DecompositionDecl> decompositionDecl;
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExceptionSpec.cpp1072 if (auto *DD = dyn_cast<DecompositionDecl>(VD)) in canVarDeclThrow()
H A DSemaDecl.cpp1933 if (const auto *DD = dyn_cast<DecompositionDecl>(D)) { in ShouldDiagnoseUnusedDecl()
7816 NewVD = DecompositionDecl::Create(Context, DC, D.getBeginLoc(), in ActOnVariableDeclarator()
13122 if (VDecl && isa<DecompositionDecl>(VDecl) && in deduceVarTypeFromInitializer()
13829 if (isa<DecompositionDecl>(VDecl)) // Case 2) in AddInitializerToDecl()
14099 if (auto *DD = dyn_cast<DecompositionDecl>(D)) in ActOnInitializerError()
14141 if (isa<DecompositionDecl>(RealDecl)) { in ActOnUninitializedDecl()
14862 if (auto *DD = dyn_cast<DecompositionDecl>(var)) in CheckCompleteVariableDeclaration()
14952 if (auto *DD = dyn_cast<DecompositionDecl>(ThisDecl)) { in FinalizeDeclaration()
15089 DecompositionDecl *FirstDecompDeclaratorInGroup = nullptr; in FinalizeDeclaratorGroup()
15109 FirstDecompDeclaratorInGroup = dyn_cast<DecompositionDecl>(D); in FinalizeDeclaratorGroup()
H A DSemaTemplateInstantiateDecl.cpp1601 Decl *TemplateDeclInstantiator::VisitDecompositionDecl(DecompositionDecl *D) { in VisitDecompositionDecl()
1617 auto *NewDD = cast_if_present<DecompositionDecl>( in VisitDecompositionDecl()
1670 Var = DecompositionDecl::Create(SemaRef.Context, DC, D->getInnerLocStart(), in VisitVarDecl()
H A DSemaDeclCXX.cpp968 static bool CheckBindingsCount(Sema &S, DecompositionDecl *DD, in CheckBindingsCount()
1020 auto *DD = cast<DecompositionDecl>(Src); in checkSimpleDecomposition()
1272 auto *DD = cast<DecompositionDecl>(Src); in checkTupleLikeDecomposition()
1534 auto *DD = cast<DecompositionDecl>(Src); in checkMemberDecomposition()
1589 void Sema::CheckCompleteDecompositionDeclaration(DecompositionDecl *DD) { in CheckCompleteDecompositionDeclaration()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp379 void VisitDecompositionDecl(DecompositionDecl *DD);
1749 void ASTDeclReader::VisitDecompositionDecl(DecompositionDecl *DD) { in VisitDecompositionDecl()
4126 D = DecompositionDecl::CreateDeserialized(Context, ID, Record.readInt()); in ReadDeclRecord()
H A DASTWriterDecl.cpp119 void VisitDecompositionDecl(DecompositionDecl *D);
1420 void ASTDeclWriter::VisitDecompositionDecl(DecompositionDecl *D) { in VisitDecompositionDecl()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDecl.cpp2077 if (auto *DD = dyn_cast_if_present<DecompositionDecl>(VD)) { in MaybeEmitDeferredVarDeclInit()
H A DCGDebugInfo.cpp102 return llvm::dyn_cast_or_null<DecompositionDecl>(RefExpr->getDecl()); in IsDecomposedVarDecl()
5301 if (auto *DD = dyn_cast<DecompositionDecl>(VD)) { in EmitDeclareOfAutoVariable()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp3265 const auto *DD = cast<DecompositionDecl>(BD->getDecomposedDecl()); in VisitCommonDeclRefExpr()

12