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

Derived Classes

tools/clang/include/clang/Sema/ScopeInfo.h
  627 class CapturingScopeInfo : public FunctionScopeInfo {

Declarations

tools/clang/include/clang/Sema/AnalysisBasedWarnings.h
   27   class FunctionScopeInfo;
tools/clang/include/clang/Sema/Sema.h
  215   class FunctionScopeInfo;
tools/clang/include/clang/Sema/SemaLambda.h
   22 class FunctionScopeInfo;

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/Support/Casting.h
   57   static inline bool doit(const From &Val) {
  104   static inline bool doit(const From *Val) {
  106     return isa_impl<To, From>::doit(*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*,
  266                           typename simplify_type<Y*>::SimpleType>::doit(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) {
tools/clang/include/clang/Sema/AnalysisBasedWarnings.h
   92   void IssueWarnings(Policy P, FunctionScopeInfo *fscope,
tools/clang/include/clang/Sema/ScopeInfo.h
  362   FunctionScopeInfo(const FunctionScopeInfo&) = default;
  627 class CapturingScopeInfo : public FunctionScopeInfo {
  708   static bool classof(const FunctionScopeInfo *FSI) {
  735   static bool classof(const FunctionScopeInfo *FSI) {
  787   static bool classof(const FunctionScopeInfo *FSI) {
  895   static bool classof(const FunctionScopeInfo *FSI) {
 1013 FunctionScopeInfo::WeakObjectProfileTy
 1015   FunctionScopeInfo::WeakObjectProfileTy Result;
tools/clang/include/clang/Sema/Sema.h
  609   std::unique_ptr<sema::FunctionScopeInfo> CachedFunctionScope;
  613   SmallVector<sema::FunctionScopeInfo *, 4> FunctionScopes;
 1459     void operator()(sema::FunctionScopeInfo *Scope) const;
 1463       std::unique_ptr<sema::FunctionScopeInfo, PoppedFunctionScopeDeleter>;
 1470   sema::FunctionScopeInfo *getCurFunction() const {
 1474   sema::FunctionScopeInfo *getEnclosingFunction() const;
 2318   void computeNRVO(Stmt *Body, sema::FunctionScopeInfo *Scope);
 9269   void popOpenMPFunctionRegion(const sema::FunctionScopeInfo *OldFSI);
tools/clang/include/clang/Sema/SemaLambda.h
   34     ArrayRef<const sema::FunctionScopeInfo *> FunctionScopes,
tools/clang/lib/Sema/AnalysisBasedWarnings.cpp
  640                                     sema::FunctionScopeInfo *FSI) {
 1344                                       const sema::FunctionScopeInfo *CurFn,
 1347   typedef sema::FunctionScopeInfo::WeakObjectProfileTy WeakObjectProfileTy;
 1348   typedef sema::FunctionScopeInfo::WeakObjectUseMap WeakObjectUseMap;
 1349   typedef sema::FunctionScopeInfo::WeakUseVector WeakUseVector;
 2014 static void flushDiagnostics(Sema &S, const sema::FunctionScopeInfo *fscope) {
 2021                                      sema::FunctionScopeInfo *fscope,
tools/clang/lib/Sema/CoroutineStmtBuilder.h
   27   sema::FunctionScopeInfo &Fn;
   37   CoroutineStmtBuilder(Sema &S, FunctionDecl &FD, sema::FunctionScopeInfo &Fn,
tools/clang/lib/Sema/ScopeInfo.cpp
   67 FunctionScopeInfo::WeakObjectProfileTy::BaseInfoTy
  179   FunctionScopeInfo::WeakObjectUseMap::iterator Uses = WeakObjectUses.end();
  211   FunctionScopeInfo::WeakUseVector::reverse_iterator ThisUse =
tools/clang/lib/Sema/Sema.cpp
  363   for (sema::FunctionScopeInfo *FSI : FunctionScopes)
 1638     FunctionScopes.push_back(new FunctionScopeInfo(getDiagnostics()));
 1691 static void markEscapingByrefs(const FunctionScopeInfo &FSI, Sema &S) {
 1760 operator()(sema::FunctionScopeInfo *Scope) const {
 1773   FunctionScopeInfo *CurFunction = getCurFunction();
 1815 FunctionScopeInfo *Sema::getEnclosingFunction() const {
 1828   for (auto *Scope : llvm::reverse(FunctionScopes)) {
tools/clang/lib/Sema/SemaCoroutine.cpp
  503   auto *ScopeInfo = getCurFunction();
  572 static FunctionScopeInfo *checkCoroutineContext(Sema &S, SourceLocation Loc,
  580   auto *ScopeInfo = S.getCurFunction();
  603   auto *ScopeInfo = getCurFunction();
  714   auto *FSI = checkCoroutineContext(*this, Loc, "co_await");
  752   auto *Coroutine = checkCoroutineContext(*this, Loc, "co_await", IsImplicit);
  813   auto *Coroutine = checkCoroutineContext(*this, Loc, "co_yield");
  856   auto *FSI = checkCoroutineContext(*this, Loc, "co_return", IsImplicit);
  958   FunctionScopeInfo *Fn = getCurFunction();
  993                                            sema::FunctionScopeInfo &Fn,
 1052                                      FunctionScopeInfo &Fn) {
 1405 static void noteMemberDeclaredHere(Sema &S, Expr *E, FunctionScopeInfo &Fn) {
 1528   auto *ScopeInfo = getCurFunction();
tools/clang/lib/Sema/SemaDecl.cpp
11758     if (FunctionScopeInfo *FSI = getCurFunction())
13646 void Sema::computeNRVO(Stmt *Body, FunctionScopeInfo *Scope) {
tools/clang/lib/Sema/SemaExpr.cpp
12514   if (FunctionScopeInfo *FD = S.getCurFunction())
16089     FunctionScopeInfo  *FSI = FunctionScopes[FunctionScopesIndex];
tools/clang/lib/Sema/SemaExprCXX.cpp
  971     ArrayRef<FunctionScopeInfo *> FunctionScopes, QualType ThisTy,
tools/clang/lib/Sema/SemaExprObjC.cpp
 2974   FunctionScopeInfo *DIFunctionScopeInfo =
tools/clang/lib/Sema/SemaLambda.cpp
   64     ArrayRef<const clang::sema::FunctionScopeInfo *> FunctionScopes,
  174     ArrayRef<const sema::FunctionScopeInfo *> FunctionScopes,
tools/clang/lib/Sema/SemaOpenMP.cpp
  166   const FunctionScopeInfo *CurrentNonCapturingFunctionScope = nullptr;
  384     const FunctionScopeInfo *CurFnScope = SemaRef.getCurFunction();
  389   void popFunction(const FunctionScopeInfo *OldFSI) {
  397     for (const FunctionScopeInfo *FSI : llvm::reverse(SemaRef.FunctionScopes)) {
 1549 void Sema::popOpenMPFunctionRegion(const FunctionScopeInfo *OldFSI) {
 1934       FunctionScopeInfo *FSI = FunctionScopes[I - 1];
15597     FunctionScopeInfo *ParentFn = getEnclosingFunction();
15849     FunctionScopeInfo *ParentFn = getEnclosingFunction();
tools/clang/lib/Sema/SemaStmt.cpp
 4073   sema::FunctionScopeInfo *FSI = getCurFunction();
 4156   sema::FunctionScopeInfo *FSI = getCurFunction();
tools/clang/lib/Sema/SemaStmtAttr.cpp
   37   auto *FnScope = S.getCurFunction();
tools/clang/lib/Sema/SemaTemplateVariadic.cpp
  281   for (auto *SI : FunctionScopes)
  330         sema::FunctionScopeInfo *Func = FunctionScopes[N-1];
tools/clang/lib/Sema/TreeTransform.h
 7181   auto *ScopeInfo = SemaRef.getCurFunction();
usr/include/c++/7.4.0/bits/unique_ptr.h
   68         default_delete(const default_delete<_Up>&) noexcept { }
   72       operator()(_Tp* __ptr) const
   74 	static_assert(!is_void<_Tp>::value,
   76 	static_assert(sizeof(_Tp)>0,
  122 	  using type = _Up*;
  137       using pointer = typename _Ptr<_Tp, _Dp>::type;
  161 	typename __uniq_ptr_impl<_Tp, _Up>::_DeleterConstraint::type;
  163       __uniq_ptr_impl<_Tp, _Dp> _M_t;
  166       using pointer	  = typename __uniq_ptr_impl<_Tp, _Dp>::pointer;
  167       using element_type  = _Tp;
  252 	unique_ptr(unique_ptr<_Up, _Ep>&& __u) noexcept
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; };
 1563     { typedef _Tp     type; };
 1574       remove_const<typename remove_volatile<_Tp>::type>::type     type;
 1645     { typedef _Tp&   type; };
 1650     : public __add_lvalue_reference_helper<_Tp>
 1983     { typedef _Up     type; };