Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/
H A DFunctionNamingCheck.cpp112 bool IsGlobal = MatchedDecl->getStorageClass() != SC_Static; in check() local
117 << MatchedDecl << IsGlobal << generateFixItHint(MatchedDecl); in check()
/llvm-project-15.0.7/bolt/lib/RuntimeLibs/
H A DInstrumentationRuntimeLibrary.cpp95 auto emitLabel = [&Streamer](MCSymbol *Symbol, bool IsGlobal = true) { in emitBinary() argument
97 if (IsGlobal) in emitBinary()
102 bool IsGlobal = true) { in emitBinary() argument
104 emitLabel(Symbol, IsGlobal); in emitBinary()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/
H A DClangTidyCheck.h233 bool IsGlobal = false; in getLocalOrGlobal() local
235 IsGlobal = true; in getLocalOrGlobal()
244 IsGlobal ? Twine(LocalName) : NamePrefix + LocalName, *ValueOr); in getLocalOrGlobal()
/llvm-project-15.0.7/lldb/include/lldb/Interpreter/
H A DProperty.h53 bool IsGlobal() const { return m_is_global; } in IsGlobal() function
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dscope.cpp115 if (scope->IsGlobal()) { in Contains()
321 for (auto *scope{this}; !scope->IsGlobal(); scope = &scope->parent()) { in AddSourceRange()
408 } else if (IsGlobal()) { in FindInstantiatedDerivedType()
H A Dsemantics.cpp360 for (const Scope *scope{&FindScope(source)}; !scope->IsGlobal(); in IsInModuleFile()
H A Dresolve-names.cpp2165 for (T *s{&scope}; !s->IsGlobal(); s = &s->parent()) { in GetInclusiveScope()
2242 SetScope(currScope_->parent().IsGlobal() ? context().globalScope() in PopScope()
2437 if (scope->IsGlobal()) { in GetImplicitType()
3611 if (hasModulePrefix && currScope().IsGlobal()) { // C1547 in BeginSubprogram()
3722 if (bindingSpec && currScope().IsGlobal() && bindingSpec->v) { in PushSubprogramScope()
6428 if (scope.parent().IsGlobal()) { in Pre()
6922 return symbol.owner().IsGlobal() && in IsLocallyImplicitGlobalSymbol()
H A Druntime-type-info.cpp1121 for (; !scope->IsGlobal(); scope = &scope->parent()) { in IncorporateDefinedIoGenericInterfaces()
H A Dtools.cpp1537 for (; scope && !scope->IsGlobal(); scope = &scope->parent()) { in HasDefinedIo()
H A Dexpression.cpp2218 if (!symbol.owner().IsGlobal() && !symbol.owner().IsDerivedType()) { in ResolveGeneric()
2626 symbol->owner().IsGlobal() && in IsExternalCalledImplicitly()
H A Dcheck-declarations.cpp908 if (!(entryScope->parent().IsGlobal() || entryScope->parent().IsModule() || in CheckSubprogram()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCallGraph.cpp178 void CallGraph::addNodeForDecl(Decl* D, bool IsGlobal) { in addNodeForDecl() argument
/llvm-project-15.0.7/clang/include/clang/Analysis/
H A DCallGraph.h144 void addNodeForDecl(Decl *D, bool IsGlobal);
/llvm-project-15.0.7/flang/include/flang/Semantics/
H A Dscope.h90 bool IsGlobal() const { return kind_ == Kind::Global; } in IsGlobal() function
/llvm-project-15.0.7/llvm/include/llvm/Demangle/
H A DItaniumDemangle.h1927 bool IsGlobal; // ::operator new ? variable
1933 InitList(InitList_), IsGlobal(IsGlobal_), IsArray(IsArray_) {} in NewExpr()
1936 F(ExprList, Type, InitList, IsGlobal, IsArray, getPrecedence()); in match()
1940 if (IsGlobal) in printLeft()
1962 bool IsGlobal; variable
1967 : Node(KDeleteExpr, Prec_), Op(Op_), IsGlobal(IsGlobal_), in DeleteExpr()
1971 F(Op, IsGlobal, IsArray, getPrecedence()); in match()
1975 if (IsGlobal) in printLeft()
/llvm-project-15.0.7/libcxxabi/src/demangle/
H A DItaniumDemangle.h1927 bool IsGlobal; // ::operator new ? variable
1933 InitList(InitList_), IsGlobal(IsGlobal_), IsArray(IsArray_) {} in NewExpr()
1936 F(ExprList, Type, InitList, IsGlobal, IsArray, getPrecedence()); in match()
1940 if (IsGlobal) in printLeft()
1962 bool IsGlobal; variable
1967 : Node(KDeleteExpr, Prec_), Op(Op_), IsGlobal(IsGlobal_), in DeleteExpr()
1971 F(Op, IsGlobal, IsArray, getPrecedence()); in match()
1975 if (IsGlobal) in printLeft()
/llvm-project-15.0.7/lldb/source/Interpreter/
H A DOptionValueProperties.cpp588 if (!property.IsGlobal()) { in DeepCopy()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDecl.cpp8215 Sema &S, const T *ND, bool IsGlobal, LookupResult &Previous) { in checkGlobalOrExternCConflict() argument
8219 if (!Prev && IsGlobal && !isIncompleteDeclExternC(S, ND)) { in checkGlobalOrExternCConflict()
8226 if (!IsGlobal || isIncompleteDeclExternC(S, ND)) { in checkGlobalOrExternCConflict()
8242 if (IsGlobal) { in checkGlobalOrExternCConflict()
8244 IsGlobal = false; in checkGlobalOrExternCConflict()
8282 << IsGlobal << ND; in checkGlobalOrExternCConflict()
8284 << IsGlobal; in checkGlobalOrExternCConflict()
13664 bool IsGlobal = GlobalStorage && !var->isStaticLocal(); in CheckCompleteVariableDeclaration() local
13724 } else if (IsGlobal && in CheckCompleteVariableDeclaration()
H A DSemaExpr.cpp18744 bool IsGlobal = !Var->hasLocalStorage(); in tryCaptureVariable() local
18745 if (IsGlobal && in tryCaptureVariable()
18775 if (IsGlobal) { in tryCaptureVariable()
18853 IsGlobal && isOpenMPGlobalCapturedDecl(Var, RSI->OpenMPLevel, in tryCaptureVariable()
18863 (IsGlobal && !IsGlobalCap)) { in tryCaptureVariable()
/llvm-project-15.0.7/flang/lib/Lower/
H A DPFTBuilder.cpp1330 while (!parentScope->IsGlobal()) { in analyzeAliasesInCurrentScope()