|
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 35 CAPTURED(Captured, Decl)
tools/clang/include/clang/AST/Stmt.h 46 class CapturedDecl;
tools/clang/include/clang/Sema/ScopeInfo.h 44 class CapturedDecl;
tools/clang/include/clang/Sema/Sema.h 82 class CapturedDecl;
References
include/llvm/ADT/STLExtras.h 75 typename std::add_pointer<typename std::add_const<T>::type>::type;
include/llvm/Support/Casting.h 58 return To::classof(&Val);
66 static inline bool doit(const From &) { return true; }
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;
366 LLVM_NODISCARD inline typename cast_retty<X, Y *>::ret_type
368 return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
368 return (Val && isa<X>(Val)) ? cast<X>(Val) : nullptr;
include/llvm/Support/PointerLikeTypeTraits.h 56 static inline void *getAsVoidPointer(T *P) { return P; }
57 static inline T *getFromVoidPointer(void *P) { return static_cast<T *>(P); }
59 enum { NumLowBitsAvailable = detail::ConstantLog2<alignof(T)>::value };
include/llvm/Support/TrailingObjects.h 134 : public TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, NextTy,
137 typedef TrailingObjectsImpl<Align, BaseTy, TopTrailingObj, NextTy, MoreTys...>
141 static const bool value = alignof(PrevTy) < alignof(NextTy);
162 getTrailingObjectsImpl(const BaseTy *Obj,
177 getTrailingObjectsImpl(BaseTy *Obj,
179 auto *Ptr = TopTrailingObj::getTrailingObjectsImpl(
232 BaseTy, TrailingObjects<BaseTy, TrailingTys...>,
232 BaseTy, TrailingObjects<BaseTy, TrailingTys...>,
233 BaseTy, TrailingTys...> {
242 BaseTy, TrailingObjects<BaseTy, TrailingTys...>, BaseTy, TrailingTys...>
242 BaseTy, TrailingObjects<BaseTy, TrailingTys...>, BaseTy, TrailingTys...>
242 BaseTy, TrailingObjects<BaseTy, TrailingTys...>, BaseTy, TrailingTys...>
257 static const BaseTy *
258 getTrailingObjectsImpl(const BaseTy *Obj,
259 TrailingObjectsBase::OverloadToken<BaseTy>) {
263 static BaseTy *
264 getTrailingObjectsImpl(BaseTy *Obj,
265 TrailingObjectsBase::OverloadToken<BaseTy>) {
277 callNumTrailingObjects(const BaseTy *Obj,
278 TrailingObjectsBase::OverloadToken<BaseTy>) {
283 static size_t callNumTrailingObjects(const BaseTy *Obj,
284 TrailingObjectsBase::OverloadToken<T>) {
tools/clang/include/clang/AST/ASTNodeTraverser.h 399 void VisitCapturedDecl(const CapturedDecl *D) { Visit(D->getBody()); }
tools/clang/include/clang/AST/Decl.h 4150 private llvm::TrailingObjects<CapturedDecl, ImplicitParamDecl *> {
4181 static CapturedDecl *Create(ASTContext &C, DeclContext *DC,
4183 static CapturedDecl *CreateDeserialized(ASTContext &C, unsigned ID,
4234 static DeclContext *castToDeclContext(const CapturedDecl *D) {
4237 static CapturedDecl *castFromDeclContext(const DeclContext *DC) {
tools/clang/include/clang/AST/DeclBase.h 2474 static const ToTy *doit(const DeclContext *Val) {
2478 static ToTy *doit(DeclContext *Val) {
2491 return To::classofKind(Val.getDeclKind());
2514 static const ToTy *doit(const ::clang::DeclContext *Val) {
2515 return ::clang::cast_convert_decl_context<ToTy>::doit(Val);
2521 static ToTy *doit(::clang::DeclContext *Val) {
2522 return ::clang::cast_convert_decl_context<ToTy>::doit(Val);
2536 static ::clang::DeclContext *doit(const FromTy *Val) {
2537 return FromTy::castToDeclContext(Val);
tools/clang/include/clang/AST/GlobalDecl.h 59 GlobalDecl(const CapturedDecl *D) { Init(D); }
tools/clang/include/clang/AST/RecursiveASTVisitor.h 1375 if (isa<BlockDecl>(Child) || isa<CapturedDecl>(Child))
1432 TRY_TO(TraverseStmt(D->getBody()));
tools/clang/include/clang/AST/Stmt.h 3426 llvm::PointerIntPair<CapturedDecl *, 2, CapturedRegionKind> CapDeclAndKind;
3433 ArrayRef<Expr *> CaptureInits, CapturedDecl *CD, RecordDecl *RD);
3455 CapturedDecl *CD, RecordDecl *RD);
3465 CapturedDecl *getCapturedDecl();
3466 const CapturedDecl *getCapturedDecl() const;
3469 void setCapturedDecl(CapturedDecl *D);
tools/clang/include/clang/AST/TextNodeDumper.h 307 void VisitCapturedDecl(const CapturedDecl *D);
tools/clang/include/clang/Sema/ScopeInfo.h 744 CapturedDecl *TheCapturedDecl;
761 CapturedRegionScopeInfo(DiagnosticsEngine &Diag, Scope *S, CapturedDecl *CD,
tools/clang/include/clang/Sema/Sema.h 1448 void PushCapturedRegionScope(Scope *RegionScope, CapturedDecl *CD,
4182 RecordDecl *CreateCapturedStmtRecordDecl(CapturedDecl *&CD,
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/Decl.cpp 4655 CapturedDecl *CapturedDecl::Create(ASTContext &C, DeclContext *DC,
4658 CapturedDecl(DC, NumParams);
4661 CapturedDecl *CapturedDecl::CreateDeserialized(ASTContext &C, unsigned ID,
4664 CapturedDecl(nullptr, NumParams);
tools/clang/lib/AST/DeclBase.cpp 986 else if (auto *CD = dyn_cast<CapturedDecl>(D))
986 else if (auto *CD = dyn_cast<CapturedDecl>(D))
tools/clang/lib/AST/Expr.cpp 858 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) {
858 if (const CapturedDecl *CD = dyn_cast<CapturedDecl>(CurrentDecl)) {
tools/clang/lib/AST/ItaniumMangle.cpp 63 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC) ||
tools/clang/lib/AST/MicrosoftMangle.cpp 100 if (isa<CapturedDecl>(DC) || isa<OMPDeclareReductionDecl>(DC) ||
tools/clang/lib/AST/Stmt.cpp 1214 CapturedDecl *CD,
1245 CapturedDecl *CD,
1291 CapturedDecl *CapturedStmt::getCapturedDecl() {
1295 const CapturedDecl *CapturedStmt::getCapturedDecl() const {
1300 void CapturedStmt::setCapturedDecl(CapturedDecl *D) {
tools/clang/lib/AST/TextNodeDumper.cpp 1398 void TextNodeDumper::VisitCapturedDecl(const CapturedDecl *D) {
tools/clang/lib/CodeGen/Address.h 108 template <class U> inline U cast(CodeGen::Address addr) {
tools/clang/lib/CodeGen/CGDecl.cpp 203 if (auto *CD = dyn_cast<CapturedDecl>(DC))
280 if (isa<BlockDecl>(DC) || isa<CapturedDecl>(DC)) {
1091 } else if (isa<CapturedDecl>(DC)) {
tools/clang/lib/CodeGen/CGException.cpp 451 if (const CapturedDecl* CD = dyn_cast_or_null<CapturedDecl>(D)) {
451 if (const CapturedDecl* CD = dyn_cast_or_null<CapturedDecl>(D)) {
528 if (const CapturedDecl* CD = dyn_cast_or_null<CapturedDecl>(D)) {
528 if (const CapturedDecl* CD = dyn_cast_or_null<CapturedDecl>(D)) {
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp 4672 } else if (const auto *CD = dyn_cast<CapturedDecl>(D)) {
4672 } else if (const auto *CD = dyn_cast<CapturedDecl>(D)) {
tools/clang/lib/CodeGen/CGStmt.cpp 2401 const CapturedDecl *CD = S.getCapturedDecl();
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp 390 const CapturedDecl *CD = FO.S->getCapturedDecl();
561 const CapturedDecl *CD = S.getCapturedDecl();
3134 QualType Ty, CapturedDecl *CD,
3192 auto *CD = CapturedDecl::Create(
3192 auto *CD = CapturedDecl::Create(
tools/clang/lib/CodeGen/CodeGenPGO.cpp 401 void VisitCapturedDecl(const CapturedDecl *D) {
811 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D))
811 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D))
878 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D))
878 else if (const CapturedDecl *CD = dyn_cast_or_null<CapturedDecl>(D))
tools/clang/lib/Sema/Sema.cpp 1255 if (isa<BlockDecl>(DC) || isa<EnumDecl>(DC) || isa<CapturedDecl>(DC)) {
2163 void Sema::PushCapturedRegionScope(Scope *S, CapturedDecl *CD, RecordDecl *RD,
tools/clang/lib/Sema/SemaChecking.cpp 5567 } else if (isa<CapturedDecl>(Caller)) {
tools/clang/lib/Sema/SemaDecl.cpp 5435 while (isa<LinkageSpecDecl>(Cur) || isa<CapturedDecl>(Cur))
7324 if (!isa<BlockDecl>(ParentDC) && !isa<CapturedDecl>(ParentDC) &&
tools/clang/lib/Sema/SemaExpr.cpp15732 if (isa<BlockDecl>(DC) || isa<CapturedDecl>(DC) || isLambdaCallOperator(DC))
tools/clang/lib/Sema/SemaExprCXX.cpp 7462 while (DC && isa<CapturedDecl>(DC))
8029 while (DC && isa<CapturedDecl>(DC))
tools/clang/lib/Sema/SemaLambda.cpp 327 while (auto *CD = dyn_cast<CapturedDecl>(DC))
455 while (auto *CD = dyn_cast<CapturedDecl>(DC))
455 while (auto *CD = dyn_cast<CapturedDecl>(DC))
tools/clang/lib/Sema/SemaOpenMP.cpp 7210 const CapturedDecl *CD = cast<CapturedStmt>(AStmt)->getCapturedDecl();
tools/clang/lib/Sema/SemaStmt.cpp 4252 Sema::CreateCapturedStmtRecordDecl(CapturedDecl *&CD, SourceLocation Loc,
4271 CD = CapturedDecl::Create(Context, CurContext, NumParams);
4321 CapturedDecl *CD = nullptr;
4325 DeclContext *DC = CapturedDecl::castToDeclContext(CD);
4351 CapturedDecl *CD = nullptr;
4355 DeclContext *DC = CapturedDecl::castToDeclContext(CD);
4435 CapturedDecl *CD = RSI->TheCapturedDecl;
tools/clang/lib/Sema/TreeTransform.h13367 CapturedDecl *CD = S->getCapturedDecl();
tools/clang/lib/Serialization/ASTReaderDecl.cpp 406 void VisitCapturedDecl(CapturedDecl *CD);
1517 void ASTDeclReader::VisitCapturedDecl(CapturedDecl *CD) {
3843 D = CapturedDecl::CreateDeserialized(Context, ID, Record.readInt());
tools/clang/lib/Serialization/ASTReaderStmt.cpp 95 T *ReadDeclAs() {
96 return Record.readDeclAs<T>();
498 S->setCapturedDecl(ReadDeclAs<CapturedDecl>());
tools/clang/lib/Serialization/ASTWriterDecl.cpp 125 void VisitCapturedDecl(CapturedDecl *D);
1163 void ASTDeclWriter::VisitCapturedDecl(CapturedDecl *CD) {
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>