Home
last modified time | relevance | path

Searched refs:IsGlobal (Results 1 – 25 of 25) sorted by relevance

/external/llvm-project/flang/lib/Semantics/
Dscope.cpp115 if (scope->IsGlobal()) { in Contains()
245 if (IsGlobal() || parent_.IsGlobal()) { in CanImport()
266 if (!isContained && !IsGlobal() && !IsModuleFile()) { in FindScope()
278 for (auto *scope = this; !scope->IsGlobal(); scope = &scope->parent()) { in AddSourceRange()
339 } else if (IsGlobal()) { in FindInstantiatedDerivedType()
Dtools.cpp34 if (scope->IsGlobal()) { in FindScopeContaining()
41 CHECK(!start.IsGlobal()); in GetTopLevelUnitContaining()
43 start, [](const Scope &scope) { return scope.parent().IsGlobal(); })); in GetTopLevelUnitContaining()
56 CHECK(!start.IsGlobal()); in GetProgramUnitContaining()
193 return maybeAncestor && !maybeDescendent.IsGlobal() && in DoesScopeContain()
Dsymbol.cpp322 (!owner_->IsGlobal() && owner_->symbol()->IsFromModFile()); in IsFromModFile()
509 if (!scope.IsGlobal()) { in DumpUniqueName()
Druntime-type-info.cpp936 for (; !scope->IsGlobal(); scope = &scope->parent()) { in IncorporateDefinedIoGenericInterfaces()
Dresolve-names.cpp1942 for (T *s{&scope}; !s->IsGlobal(); s = &s->parent()) { in GetInclusiveScope()
2101 if (scope->IsGlobal()) { in ApplyImplicitRules()
2982 if (outer.IsGlobal()) { in Post()
2996 if (outer.IsGlobal()) { in Post()
5457 if (scope.parent().IsGlobal()) { in Pre()
Dcheck-declarations.cpp748 } else if (!(entryScope->parent().IsGlobal() || in CheckSubprogram()
Dexpression.cpp2226 symbol->owner().IsGlobal() && in IsExternalCalledImplicitly()
/external/llvm-project/clang-tools-extra/clang-tidy/google/
DFunctionNamingCheck.cpp112 bool IsGlobal = MatchedDecl->getStorageClass() != SC_Static; in check() local
117 << MatchedDecl << IsGlobal << generateFixItHint(MatchedDecl); in check()
/external/llvm-project/lldb/include/lldb/Interpreter/
DProperty.h56 bool IsGlobal() const { return m_is_global; } in IsGlobal() function
/external/llvm-project/clang-tools-extra/clang-tidy/
DClangTidyCheck.h298 bool IsGlobal = false; in getLocalOrGlobal() local
300 IsGlobal = true; in getLocalOrGlobal()
310 (IsGlobal ? LocalName.str() : (NamePrefix + LocalName).str()), in getLocalOrGlobal()
/external/clang/lib/Analysis/
DCallGraph.cpp130 void CallGraph::addNodeForDecl(Decl* D, bool IsGlobal) { in addNodeForDecl() argument
/external/clang/include/clang/Analysis/
DCallGraph.h127 void addNodeForDecl(Decl *D, bool IsGlobal);
/external/llvm-project/clang/lib/Analysis/
DCallGraph.cpp178 void CallGraph::addNodeForDecl(Decl* D, bool IsGlobal) { in addNodeForDecl() argument
/external/llvm-project/clang/include/clang/Analysis/
DCallGraph.h144 void addNodeForDecl(Decl *D, bool IsGlobal);
/external/llvm-project/flang/include/flang/Semantics/
Dscope.h86 bool IsGlobal() const { return kind_ == Kind::Global; } in IsGlobal() function
/external/llvm-project/libcxxabi/src/demangle/
DItaniumDemangle.h1776 bool IsGlobal; // ::operator new ? variable
1782 IsGlobal(IsGlobal_), IsArray(IsArray_) {} in NewExpr()
1785 F(ExprList, Type, InitList, IsGlobal, IsArray); in match()
1789 if (IsGlobal) in printLeft()
1812 bool IsGlobal; variable
1817 : Node(KDeleteExpr), Op(Op_), IsGlobal(IsGlobal_), IsArray(IsArray_) {} in DeleteExpr()
1819 template<typename Fn> void match(Fn F) const { F(Op, IsGlobal, IsArray); } in match()
1822 if (IsGlobal) in printLeft()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Demangle/
DItaniumDemangle.h1740 bool IsGlobal; // ::operator new ? variable
1746 IsGlobal(IsGlobal_), IsArray(IsArray_) {} in NewExpr()
1749 F(ExprList, Type, InitList, IsGlobal, IsArray); in match()
1753 if (IsGlobal) in printLeft()
1776 bool IsGlobal; variable
1781 : Node(KDeleteExpr), Op(Op_), IsGlobal(IsGlobal_), IsArray(IsArray_) {} in DeleteExpr()
1783 template<typename Fn> void match(Fn F) const { F(Op, IsGlobal, IsArray); } in match()
1786 if (IsGlobal) in printLeft()
/external/llvm-project/llvm/include/llvm/Demangle/
DItaniumDemangle.h1776 bool IsGlobal; // ::operator new ? variable
1782 IsGlobal(IsGlobal_), IsArray(IsArray_) {} in NewExpr()
1785 F(ExprList, Type, InitList, IsGlobal, IsArray); in match()
1789 if (IsGlobal) in printLeft()
1812 bool IsGlobal; variable
1817 : Node(KDeleteExpr), Op(Op_), IsGlobal(IsGlobal_), IsArray(IsArray_) {} in DeleteExpr()
1819 template<typename Fn> void match(Fn F) const { F(Op, IsGlobal, IsArray); } in match()
1822 if (IsGlobal) in printLeft()
/external/libcxxabi/src/demangle/
DItaniumDemangle.h1638 bool IsGlobal; // ::operator new ? variable
1644 IsGlobal(IsGlobal_), IsArray(IsArray_) {} in NewExpr()
1647 F(ExprList, Type, InitList, IsGlobal, IsArray); in match()
1651 if (IsGlobal) in printLeft()
1674 bool IsGlobal; variable
1679 : Node(KDeleteExpr), Op(Op_), IsGlobal(IsGlobal_), IsArray(IsArray_) {} in DeleteExpr()
1681 template<typename Fn> void match(Fn F) const { F(Op, IsGlobal, IsArray); } in match()
1684 if (IsGlobal) in printLeft()
/external/llvm-project/flang/lib/Evaluate/
Dcheck-expression.cpp420 for (const semantics::Scope *s{&scope_}; !s->IsGlobal();) { in operator ()()
/external/llvm-project/lldb/source/Interpreter/
DOptionValueProperties.cpp40 if (!m_properties[i].IsGlobal()) { in OptionValueProperties()
/external/clang/lib/Sema/
DSemaDecl.cpp6644 Sema &S, const T *ND, bool IsGlobal, LookupResult &Previous) { in checkGlobalOrExternCConflict() argument
6648 if (!Prev && IsGlobal && !isIncompleteDeclExternC(S, ND)) { in checkGlobalOrExternCConflict()
6655 if (!IsGlobal || isIncompleteDeclExternC(S, ND)) { in checkGlobalOrExternCConflict()
6671 if (IsGlobal) { in checkGlobalOrExternCConflict()
6673 IsGlobal = false; in checkGlobalOrExternCConflict()
6711 << IsGlobal << ND; in checkGlobalOrExternCConflict()
6713 << IsGlobal; in checkGlobalOrExternCConflict()
10428 bool IsGlobal = GlobalStorage && !var->isStaticLocal(); in CheckCompleteVariableDeclaration() local
10433 if (IsGlobal && !var->isConstexpr() && in CheckCompleteVariableDeclaration()
DSemaExpr.cpp13582 bool IsGlobal = !Var->hasLocalStorage(); in tryCaptureVariable() local
13583 if (IsGlobal && !(LangOpts.OpenMP && IsOpenMPCapturedDecl(Var))) in tryCaptureVariable()
13610 if (IsGlobal) { in tryCaptureVariable()
/external/llvm-project/clang/lib/Sema/
DSemaDecl.cpp7721 Sema &S, const T *ND, bool IsGlobal, LookupResult &Previous) { in checkGlobalOrExternCConflict() argument
7725 if (!Prev && IsGlobal && !isIncompleteDeclExternC(S, ND)) { in checkGlobalOrExternCConflict()
7732 if (!IsGlobal || isIncompleteDeclExternC(S, ND)) { in checkGlobalOrExternCConflict()
7748 if (IsGlobal) { in checkGlobalOrExternCConflict()
7750 IsGlobal = false; in checkGlobalOrExternCConflict()
7788 << IsGlobal << ND; in checkGlobalOrExternCConflict()
7790 << IsGlobal; in checkGlobalOrExternCConflict()
13028 bool IsGlobal = GlobalStorage && !var->isStaticLocal(); in CheckCompleteVariableDeclaration() local
13087 } else if (IsGlobal && in CheckCompleteVariableDeclaration()
DSemaExpr.cpp17421 bool IsGlobal = !Var->hasLocalStorage(); in tryCaptureVariable() local
17422 if (IsGlobal && in tryCaptureVariable()
17452 if (IsGlobal) { in tryCaptureVariable()
17529 IsGlobal && isOpenMPGlobalCapturedDecl(Var, RSI->OpenMPLevel, in tryCaptureVariable()
17539 (IsGlobal && !IsGlobalCap)) { in tryCaptureVariable()