Home
last modified time | relevance | path

Searched refs:IsTopLevel (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/flang/lib/Semantics/
H A Dscope.cpp288 if (IsTopLevel() || parent_.IsTopLevel()) { in CanImport()
309 if (!isContained && !IsTopLevel() && !IsModuleFile()) { in FindScope()
317 return isContained && !IsTopLevel() ? this : nullptr; in FindScope()
H A Dtools.cpp34 if (scope->IsTopLevel()) { in FindScopeContaining()
41 CHECK(!start.IsTopLevel()); in GetTopLevelUnitContaining()
43 start, [](const Scope &scope) { return scope.parent().IsTopLevel(); })); in GetTopLevelUnitContaining()
61 CHECK(!start.IsTopLevel()); in GetProgramUnitContaining()
80 CHECK(!start.IsTopLevel()); in GetProgramUnitOrBlockConstructContaining()
103 if (start.IsTopLevel()) { in FindPureProcedureContaining()
233 return maybeAncestor && !maybeDescendent.IsTopLevel() && in DoesScopeContain()
H A Dsymbol.cpp361 (!owner_->IsTopLevel() && owner_->symbol()->IsFromModFile()); in IsFromModFile()
559 if (!scope.IsTopLevel()) { in DumpUniqueName()
H A Dresolve-names.cpp3416 if (outer.IsTopLevel()) { in CreateEntry()
/llvm-project-15.0.7/clang/lib/Format/
H A DUnwrappedLineParser.h119 void parseStructuralElement(bool IsTopLevel = false,
H A DUnwrappedLineParser.cpp1450 bool IsTopLevel, TokenType NextLBracesType, IfStmtKind *IfKind, in parseStructuralElement() argument
1785 if (!IsTopLevel || !Style.isCpp() || !Previous || FormatTok->is(tok::eof)) in parseStructuralElement()
/llvm-project-15.0.7/flang/lib/Lower/
H A DMangler.cpp26 if (scope.IsTopLevel()) in moduleNames()
/llvm-project-15.0.7/flang/include/flang/Semantics/
H A Dscope.h92 bool IsTopLevel() const { in IsTopLevel() function
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclCXX.cpp18187 bool IsTopLevel, ExceptionSpecificationType EST, in checkExceptionSpecification() argument
18200 if (IsTopLevel) { in checkExceptionSpecification()
18225 if (IsTopLevel && DiagnoseUnexpandedParameterPack(NoexceptExpr)) { in checkExceptionSpecification()
H A DSemaOverload.cpp3200 bool CStyle, bool IsTopLevel, in isQualificationConversionStep() argument
3242 (!IsTopLevel || in isQualificationConversionStep()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h6200 void checkExceptionSpecification(bool IsTopLevel,