|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
gen/tools/clang/include/clang/AST/DeclNodes.inc 365 BINDING(Binding, ValueDecl)
tools/clang/include/clang/Sema/Sema.h 80 class BindingDecl;
tools/clang/include/clang/Sema/Template.h 31 class BindingDecl;
References
include/llvm/ADT/ArrayRef.h 108 const ArrayRef<U *> &A,
110 std::is_convertible<U *const *, T const *>::value>::type * = nullptr)
118 const SmallVectorTemplateCommon<U *, DummyT> &Vec,
120 std::is_convertible<U *const *, T const *>::value>::type * = nullptr)
include/llvm/ADT/STLExtras.h 75 typename std::add_pointer<typename std::add_const<T>::type>::type;
include/llvm/Support/Casting.h 57 static inline bool doit(const From &Val) {
58 return To::classof(&Val);
104 static inline bool doit(const From *Val) {
106 return isa_impl<To, From>::doit(*Val);
106 return isa_impl<To, From>::doit(*Val);
122 return isa_impl_wrap<To, SimpleFrom,
132 return isa_impl_cl<To,FromTy>::doit(Val);
142 return isa_impl_wrap<X, const Y,
172 using ret_type = To *; // Pointer arg case, return Ty*
176 using ret_type = const To *; // Constant pointer arg case, return const Ty*
198 using ret_type = typename cast_retty<To, SimpleFrom>::ret_type;
204 using ret_type = typename cast_retty_impl<To,FromTy>::ret_type;
210 To, From, typename simplify_type<From>::SimpleType>::ret_type;
227 static typename cast_retty<To, FromTy>::ret_type doit(const FromTy &Val) {
228 typename cast_retty<To, FromTy>::ret_type Res2
256 inline typename cast_retty<X, Y>::ret_type cast(Y &Val) {
263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
263 inline typename cast_retty<X, Y *>::ret_type cast(Y *Val) {
265 return cast_convert_val<X, Y*,
265 return cast_convert_val<X, Y*,
266 typename simplify_type<Y*>::SimpleType>::doit(Val);
305 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
309 return cast<X>(Val);
337 LLVM_NODISCARD inline typename cast_retty<X, Y>::ret_type dyn_cast(Y &Val) {
342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
342 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type dyn_cast(Y *Val) {
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
343 return isa<X>(Val) ? cast<X>(Val) : nullptr;
tools/clang/include/clang/AST/ASTNodeTraverser.h 386 for (const auto *B : D->bindings())
390 void VisitBindingDecl(const BindingDecl *D) {
tools/clang/include/clang/AST/DeclBase.h 2536 static ::clang::DeclContext *doit(const FromTy *Val) {
2537 return FromTy::castToDeclContext(Val);
tools/clang/include/clang/AST/DeclCXX.h 3735 static BindingDecl *Create(ASTContext &C, DeclContext *DC,
3737 static BindingDecl *CreateDeserialized(ASTContext &C, unsigned ID);
3777 private llvm::TrailingObjects<DecompositionDecl, BindingDecl *> {
3784 ArrayRef<BindingDecl *> Bindings)
3789 getTrailingObjects<BindingDecl *>());
3790 for (auto *B : Bindings)
3805 ArrayRef<BindingDecl *> Bindings);
3809 ArrayRef<BindingDecl *> bindings() const {
3810 return llvm::makeArrayRef(getTrailingObjects<BindingDecl *>(), NumBindings);
tools/clang/include/clang/AST/ExprCXX.h 4470 if (isa<BindingDecl>(ExtendingDecl))
tools/clang/include/clang/AST/RecursiveASTVisitor.h 1959 TRY_TO(TraverseStmt(D->getBinding()));
tools/clang/include/clang/AST/TextNodeDumper.h 306 void VisitBindingDecl(const BindingDecl *D);
tools/clang/include/clang/Analysis/Analyses/LiveVariables.h 35 llvm::ImmutableSet<const BindingDecl *> liveBindings;
44 llvm::ImmutableSet<const BindingDecl *> LiveBindings)
tools/clang/include/clang/Sema/Sema.h 2153 ArrayRef<BindingDecl *> Bindings = None);
tools/clang/include/clang/Sema/Template.h 484 ArrayRef<BindingDecl *> *Bindings = nullptr);
tools/clang/include/clang/Serialization/ASTReader.h 1887 T *ReadDeclAs(ModuleFile &F, const RecordData &R, unsigned &I) {
1888 return cast_or_null<T>(GetDecl(ReadDeclID(F, R, I)));
2541 T *readDeclAs() {
2542 return Reader->ReadDeclAs<T>(*F, Record, Idx);
tools/clang/lib/AST/ASTContext.cpp10091 for (const auto *BD : DD->bindings())
tools/clang/lib/AST/DeclBase.cpp 149 for (auto *Binding : DD->bindings()) {
tools/clang/lib/AST/DeclCXX.cpp 2989 BindingDecl *BindingDecl::Create(ASTContext &C, DeclContext *DC,
2991 return new (C, DC) BindingDecl(DC, IdLoc, Id);
2994 BindingDecl *BindingDecl::CreateDeserialized(ASTContext &C, unsigned ID) {
2995 return new (C, ID) BindingDecl(nullptr, SourceLocation(), nullptr);
3024 ArrayRef<BindingDecl *> Bindings) {
3025 size_t Extra = additionalSizeToAlloc<BindingDecl *>(Bindings.size());
3033 size_t Extra = additionalSizeToAlloc<BindingDecl *>(NumBindings);
3039 auto *Trail = Result->getTrailingObjects<BindingDecl *>();
3041 new (Trail + I) BindingDecl*(nullptr);
3048 for (const auto *B : bindings()) {
tools/clang/lib/AST/Expr.cpp 3868 if (BindingDecl *BD = dyn_cast<BindingDecl>(DeclRef->getDecl()))
3868 if (BindingDecl *BD = dyn_cast<BindingDecl>(DeclRef->getDecl()))
3907 if (auto *BD = dyn_cast<BindingDecl>(DRE->getDecl()))
tools/clang/lib/AST/ExprClassification.cpp 453 isa<BindingDecl>(D) ||
tools/clang/lib/AST/ExprConstant.cpp 4319 for (auto *BD : DD->bindings())
7388 if (const BindingDecl *BD = dyn_cast<BindingDecl>(E->getDecl()))
7388 if (const BindingDecl *BD = dyn_cast<BindingDecl>(E->getDecl()))
tools/clang/lib/AST/ItaniumCXXABI.cpp 57 using BindingArray = ArrayRef<const BindingDecl*>;
104 using ArrayInfo = llvm::DenseMapInfo<ArrayRef<const BindingDecl*>>;
tools/clang/lib/AST/ItaniumMangle.cpp 1274 for (auto *BD : DD->bindings())
tools/clang/lib/AST/TextNodeDumper.cpp 1393 void TextNodeDumper::VisitBindingDecl(const BindingDecl *D) {
tools/clang/lib/Analysis/LiveVariables.cpp 79 llvm::ImmutableSet<const BindingDecl *>::Factory BSetFact;
121 for (const BindingDecl *BD : DD->bindings())
156 llvm::ImmutableSetRef<const BindingDecl *>
384 if (const BindingDecl* BD = dyn_cast<BindingDecl>(D)) {
384 if (const BindingDecl* BD = dyn_cast<BindingDecl>(D)) {
413 if (const auto *BD = dyn_cast<BindingDecl>(D)) {
413 if (const auto *BD = dyn_cast<BindingDecl>(D)) {
425 for (const auto *BD : DD->bindings())
489 if (isa<VarDecl>(D) || isa<BindingDecl>(D)) {
tools/clang/lib/CodeGen/Address.h 108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/CGDecl.cpp 138 for (auto *B : DD->bindings())
tools/clang/lib/CodeGen/CGExpr.cpp 2672 if (const auto *BD = dyn_cast<BindingDecl>(ND))
2672 if (const auto *BD = dyn_cast<BindingDecl>(ND))
tools/clang/lib/CodeGen/CodeGenModule.cpp 5245 for (auto *B : DD->bindings())
tools/clang/lib/Index/IndexDecl.cpp 301 for (const auto *Binding : D->bindings())
tools/clang/lib/Index/USRGeneration.cpp 99 void VisitBindingDecl(const BindingDecl *D);
343 void USRGenerator::VisitBindingDecl(const BindingDecl *D) {
tools/clang/lib/Sema/SemaDecl.cpp 1727 for (auto *BD : DD->bindings()) {
6481 bool &AddToScope, ArrayRef<BindingDecl *> Bindings) {
6832 for (auto *B : Bindings)
6940 for (auto *B : Bindings)
11997 for (auto *BD : DD->bindings())
12646 for (auto *BD : DD->bindings()) {
tools/clang/lib/Sema/SemaDeclCXX.cpp 815 SmallVector<BindingDecl*, 8> Bindings;
844 auto *BD = BindingDecl::Create(Context, DC, B.NameLoc, B.Name);
844 auto *BD = BindingDecl::Create(Context, DC, B.NameLoc, B.Name);
874 Sema &S, ArrayRef<BindingDecl *> Bindings, ValueDecl *Src,
885 for (auto *B : Bindings) {
900 ArrayRef<BindingDecl *> Bindings,
914 static bool checkArrayDecomposition(Sema &S, ArrayRef<BindingDecl*> Bindings,
922 static bool checkVectorDecomposition(Sema &S, ArrayRef<BindingDecl*> Bindings,
932 ArrayRef<BindingDecl *> Bindings,
1106 BindingDecl *BD;
1108 BindingDiagnosticTrap(Sema &S, BindingDecl *BD)
1118 ArrayRef<BindingDecl *> Bindings,
1160 for (auto *B : Bindings) {
1326 static bool checkMemberDecomposition(Sema &S, ArrayRef<BindingDecl*> Bindings,
1371 auto *B = Bindings[I++];
1421 for (auto *B : DD->bindings())
1427 ArrayRef<BindingDecl*> Bindings = DD->bindings();
tools/clang/lib/Sema/SemaExpr.cpp 242 if (isa<BindingDecl>(D)) {
1845 if (auto *BD = dyn_cast<BindingDecl>(D))
1845 if (auto *BD = dyn_cast<BindingDecl>(D))
3098 auto *BD = cast<BindingDecl>(VD);
3098 auto *BD = cast<BindingDecl>(VD);
12476 !isa<BindingDecl>(dcl))
15677 unsigned ValueKind = isa<BindingDecl>(var) ? 1 : 0;
tools/clang/lib/Sema/SemaStmt.cpp 2398 for (auto *Binding : DD->bindings())
tools/clang/lib/Sema/SemaTemplateInstantiateDecl.cpp 842 Decl *TemplateDeclInstantiator::VisitBindingDecl(BindingDecl *D) {
843 auto *NewBD = BindingDecl::Create(SemaRef.Context, Owner, D->getLocation(),
843 auto *NewBD = BindingDecl::Create(SemaRef.Context, Owner, D->getLocation(),
852 SmallVector<BindingDecl*, 16> NewBindings;
853 for (auto *OldBD : D->bindings())
854 NewBindings.push_back(cast<BindingDecl>(VisitBindingDecl(OldBD)));
855 ArrayRef<BindingDecl*> NewBindingArray = NewBindings;
861 for (auto *NewBD : NewBindings)
873 ArrayRef<BindingDecl*> *Bindings) {
tools/clang/lib/Serialization/ASTReaderDecl.cpp 144 T *ReadDeclAs() {
145 return Record.readDeclAs<T>();
382 void VisitBindingDecl(BindingDecl *BD);
1466 auto **BDs = DD->getTrailingObjects<BindingDecl *>();
1466 auto **BDs = DD->getTrailingObjects<BindingDecl *>();
1468 BDs[I] = ReadDeclAs<BindingDecl>();
1473 void ASTDeclReader::VisitBindingDecl(BindingDecl *BD) {
3831 D = BindingDecl::CreateDeserialized(Context, ID);
tools/clang/lib/Serialization/ASTWriterDecl.cpp 102 void VisitBindingDecl(BindingDecl *D);
1111 for (auto *B : D->bindings())
1116 void ASTDeclWriter::VisitBindingDecl(BindingDecl *D) {
tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp 2500 if (isa<BindingDecl>(D)) {
tools/clang/tools/extra/clang-tidy/readability/FunctionSizeCheck.cpp 32 bool VisitBindingDecl(BindingDecl *BD) {
tools/clang/tools/extra/clangd/SemanticHighlighting.cpp 79 if (isa<BindingDecl>(D))
usr/include/c++/7.4.0/type_traits 215 : public __is_void_helper<typename remove_cv<_Tp>::type>::type
581 : public __or_<is_lvalue_reference<_Tp>,
582 is_rvalue_reference<_Tp>>::type
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
601 : public __not_<__or_<is_function<_Tp>, is_reference<_Tp>,
602 is_void<_Tp>>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
638 : public __or_<is_object<_Tp>, is_reference<_Tp>>::type
1554 { typedef _Tp type; };
1558 { typedef _Tp type; };
1563 { typedef _Tp type; };
1574 remove_const<typename remove_volatile<_Tp>::type>::type type;
1580 { typedef _Tp const type; };
1629 { typedef _Tp type; };
1983 { typedef _Up type; };
1999 { typedef typename remove_reference<_Tp>::type* type; };
2003 : public __add_pointer_helper<_Tp>