reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Derived Classes

tools/clang/include/clang/Sema/ScopeInfo.h
  715 class BlockScopeInfo final : public CapturingScopeInfo {
  741 class CapturedRegionScopeInfo final : public CapturingScopeInfo {
  792 class LambdaScopeInfo final : public CapturingScopeInfo {

Declarations

tools/clang/include/clang/Sema/Sema.h
  211   class CapturingScopeInfo;

References

include/llvm/Support/Casting.h
   34   using SimpleType = From; // The real type this represents...
   37   static SimpleType &getSimplifiedValue(From &Val) { return Val; }
   41   using NonConstSimpleType = typename simplify_type<From>::SimpleType;
   47   static RetType getSimplifiedValue(const From& Val) {
   57   static inline bool doit(const From &Val) {
   58     return To::classof(&Val);
   76   static inline bool doit(const From &Val) {
   77     return isa_impl<To, From>::doit(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);
  141 template <class X, class Y> LLVM_NODISCARD inline bool isa(const Y &Val) {
  142   return isa_impl_wrap<X, const Y,
  142   return isa_impl_wrap<X, const Y,
  143                        typename simplify_type<const Y>::SimpleType>::doit(Val);
  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);
  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;
include/llvm/Support/type_traits.h
   55 struct add_const_past_pointer { using type = const T; };
tools/clang/include/clang/Sema/ScopeInfo.h
  629   CapturingScopeInfo(const CapturingScopeInfo&) = default;
  715 class BlockScopeInfo final : public CapturingScopeInfo {
  741 class CapturedRegionScopeInfo final : public CapturingScopeInfo {
  792 class LambdaScopeInfo final : public CapturingScopeInfo {
tools/clang/include/clang/Sema/Sema.h
 6060   void deduceClosureReturnType(sema::CapturingScopeInfo &CSI);
tools/clang/lib/Sema/Sema.cpp
 1850     while (I != E && isa<CapturingScopeInfo>(*I) && !isa<LambdaScopeInfo>(*I))
tools/clang/lib/Sema/SemaDecl.cpp
13446     LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_None;
13448     LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByval;
13450     LSI->ImpCaptureStyle = CapturingScopeInfo::ImpCap_LambdaByref;
tools/clang/lib/Sema/SemaExpr.cpp
 4040                                         CapturingScopeInfo *CSI) {
 4163         auto *CSI = dyn_cast<CapturingScopeInfo>(*I);
 4163         auto *CSI = dyn_cast<CapturingScopeInfo>(*I);
 4780         auto *CSI = dyn_cast<CapturingScopeInfo>(*I);
 4780         auto *CSI = dyn_cast<CapturingScopeInfo>(*I);
15698 static bool isVariableAlreadyCapturedInScopeInfo(CapturingScopeInfo *CSI, VarDecl *Var,
15744 static bool isVariableCapturable(CapturingScopeInfo *CSI, VarDecl *Var,
16090     CapturingScopeInfo *CSI = cast<CapturingScopeInfo>(FSI);
16090     CapturingScopeInfo *CSI = cast<CapturingScopeInfo>(FSI);
16106         if (LSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_None) {
16169     if (CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_None && !Explicit) {
16207     CapturingScopeInfo *CSI = cast<CapturingScopeInfo>(FunctionScopes[I]);
16207     CapturingScopeInfo *CSI = cast<CapturingScopeInfo>(FunctionScopes[I]);
tools/clang/lib/Sema/SemaExprCXX.cpp
 1183     if (CapturingScopeInfo *CSI =
 1184             dyn_cast<CapturingScopeInfo>(FunctionScopes[idx])) {
 1198       if (CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_LambdaByref ||
 1199           CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_LambdaByval ||
 1200           CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_Block ||
 1201           CSI->ImpCaptureStyle == CapturingScopeInfo::ImpCap_CapturedRegion ||
 1237     CapturingScopeInfo *CSI = cast<CapturingScopeInfo>(FunctionScopes[idx]);
 1237     CapturingScopeInfo *CSI = cast<CapturingScopeInfo>(FunctionScopes[idx]);
tools/clang/lib/Sema/SemaLambda.cpp
  692 void Sema::deduceClosureReturnType(CapturingScopeInfo &CSI) {
 1539 mapImplicitCaptureStyle(CapturingScopeInfo::ImplicitCaptureStyle ICS) {
 1541   case CapturingScopeInfo::ImpCap_None:
 1543   case CapturingScopeInfo::ImpCap_LambdaByval:
 1545   case CapturingScopeInfo::ImpCap_CapturedRegion:
 1546   case CapturingScopeInfo::ImpCap_LambdaByref:
 1548   case CapturingScopeInfo::ImpCap_Block:
tools/clang/lib/Sema/SemaOpenMP.cpp
  398       if (!isa<CapturingScopeInfo>(FSI)) {
 1935       if(!isa<CapturingScopeInfo>(FSI))
tools/clang/lib/Sema/SemaStmt.cpp
 3241   CapturingScopeInfo *CurCap = cast<CapturingScopeInfo>(getCurFunction());
 3241   CapturingScopeInfo *CurCap = cast<CapturingScopeInfo>(getCurFunction());
 3583   if (isa<CapturingScopeInfo>(getCurFunction()))
usr/include/c++/7.4.0/type_traits
  381     : public __is_pointer_helper<typename remove_cv<_Tp>::type>::type
 1554     { typedef _Tp     type; };
 1558     { typedef _Tp     type; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1983     { typedef _Up     type; };