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

Declarations

tools/clang/include/clang/Sema/Sema.h
  210   class CapturedRegionScopeInfo;

References

include/llvm/Support/Casting.h
   58     return To::classof(&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) {
  265   return cast_convert_val<X, Y*,
  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) {
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
  343   return isa<X>(Val) ? cast<X>(Val) : nullptr;
tools/clang/include/clang/Sema/Sema.h
 1506   sema::CapturedRegionScopeInfo *getCurCapturedRegion();
tools/clang/lib/Sema/Sema.cpp
 2166   auto *CSI = new CapturedRegionScopeInfo(
 2166   auto *CSI = new CapturedRegionScopeInfo(
 2174 CapturedRegionScopeInfo *Sema::getCurCapturedRegion() {
 2178   return dyn_cast<CapturedRegionScopeInfo>(FunctionScopes.back());
tools/clang/lib/Sema/SemaExpr.cpp
 3206   else if (const CapturedRegionScopeInfo *CSI = getCurCapturedRegion())
 4103           (isa<CapturedRegionScopeInfo>(CSI) || isa<LambdaScopeInfo>(CSI)))
 4169         else if (auto *CRSI = dyn_cast<CapturedRegionScopeInfo>(CSI))
 4169         else if (auto *CRSI = dyn_cast<CapturedRegionScopeInfo>(CSI))
 4786         else if (auto *CRSI = dyn_cast<CapturedRegionScopeInfo>(CSI))
 4786         else if (auto *CRSI = dyn_cast<CapturedRegionScopeInfo>(CSI))
15719         !(isa<CapturedRegionScopeInfo>(CSI) &&
15720           cast<CapturedRegionScopeInfo>(CSI)->CapRegionKind == CR_OpenMP))
15791   if (HasBlocksAttr && (IsLambda || isa<CapturedRegionScopeInfo>(CSI))) {
15886 static bool captureInCapturedRegion(CapturedRegionScopeInfo *RSI,
16128       if (auto *RSI = dyn_cast<CapturedRegionScopeInfo>(CSI)) {
16128       if (auto *RSI = dyn_cast<CapturedRegionScopeInfo>(CSI)) {
16144               auto *OuterRSI = cast<CapturedRegionScopeInfo>(
16144               auto *OuterRSI = cast<CapturedRegionScopeInfo>(
16225     } else if (CapturedRegionScopeInfo *RSI = dyn_cast<CapturedRegionScopeInfo>(CSI)) {
16225     } else if (CapturedRegionScopeInfo *RSI = dyn_cast<CapturedRegionScopeInfo>(CSI)) {
tools/clang/lib/Sema/SemaLambda.cpp
   71   while (CurScopeIndex > 0 && isa<clang::sema::CapturedRegionScopeInfo>(
tools/clang/lib/Sema/SemaOpenMP.cpp
 1937       if (auto *RSI = dyn_cast<CapturedRegionScopeInfo>(FSI))
 1937       if (auto *RSI = dyn_cast<CapturedRegionScopeInfo>(FSI))
tools/clang/lib/Sema/SemaStmt.cpp
 3318   } else if (auto *CurRegion = dyn_cast<CapturedRegionScopeInfo>(CurCap)) {
 3318   } else if (auto *CurRegion = dyn_cast<CapturedRegionScopeInfo>(CurCap)) {
 4277 buildCapturedStmtCaptureList(Sema &S, CapturedRegionScopeInfo *RSI,
 4411   CapturedRegionScopeInfo *RSI = cast<CapturedRegionScopeInfo>(ScopeRAII.get());
 4411   CapturedRegionScopeInfo *RSI = cast<CapturedRegionScopeInfo>(ScopeRAII.get());
 4428   CapturedRegionScopeInfo *RSI = cast<CapturedRegionScopeInfo>(ScopeRAII.get());
 4428   CapturedRegionScopeInfo *RSI = cast<CapturedRegionScopeInfo>(ScopeRAII.get());