Home
last modified time | relevance | path

Searched refs:IsModule (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/flang/lib/Semantics/
H A Dprogram-tree.h80 bool IsModule() const; // Module or Submodule
H A Dprogram-tree.cpp209 bool ProgramTree::IsModule() const { in IsModule() function in Fortran::semantics::ProgramTree
H A Dcheck-declarations.cpp370 if (symbol.owner().IsModule() && IsAutomatic(symbol)) { in Check()
908 if (!(entryScope->parent().IsGlobal() || entryScope->parent().IsModule() || in CheckSubprogram()
1885 if (symbol.has<ObjectEntityDetails>() && !symbol.owner().IsModule()) { in CheckBindC()
H A Dresolve-names.cpp2644 } else if (currScope().IsModule() && currScope().symbol() && in Pre()
3450 if (outer.IsModule() && !attrs.test(Attr::PRIVATE)) { in CreateEntry()
4060 if (!NonDerivedTypeScope().IsModule()) { // C817 in Pre()
4621 if (!currScope().parent().IsModule()) { in Pre()
6416 if (scope.IsModule()) { in Pre()
6969 if (!currScope().IsModule()) { // C869 in Pre()
7447 if (node.IsModule()) { in ResolveSpecificationParts()
7465 node.IsModule() ? SubprogramKind::Module : SubprogramKind::Internal}; in AddSubpNames()
H A Dcheck-do-forall.cpp320 if (symbol.GetUltimate().owner().IsModule() && in fromScope()
H A Dtools.cpp52 start, [](const Scope &scope) { return scope.IsModule(); }); in FindModuleContaining()
/llvm-project-15.0.7/clang/include/clang/Serialization/
H A DASTWriter.h473 void WritePreprocessor(const Preprocessor &PP, bool IsModule);
499 bool IsModule);
/llvm-project-15.0.7/clang/lib/Serialization/
H A DASTWriter.cpp2238 static bool shouldIgnoreMacro(MacroDirective *MD, bool IsModule, in shouldIgnoreMacro() argument
2244 if (IsModule) { in shouldIgnoreMacro()
2308 assert(!IsModule); in WritePreprocessor()
2369 if (IsModule && WritingModule->isHeaderUnit()) { in WritePreprocessor()
2373 if (!MD || shouldIgnoreMacro(MD, IsModule, PP) || in WritePreprocessor()
2393 if (shouldIgnoreMacro(MD, IsModule, PP)) in WritePreprocessor()
3471 bool IsModule; member in __anon7df3f81c0a11::ASTIdentifierTableTrait
3481 (!IsModule && II->getObjCOrBuiltinID()) || in isInterestingIdentifier()
3502 : Writer(Writer), PP(PP), IdResolver(IdResolver), IsModule(IsModule), in ASTIdentifierTableTrait()
3609 bool IsModule) { in WriteIdentifierTable() argument
[all …]
H A DASTReader.cpp958 bool IsModule) { in isInterestingIdentifier() argument
960 (!IsModule && II.getObjCOrBuiltinID()) || in isInterestingIdentifier()
962 (!(IsModule && Reader.getPreprocessor().getLangOpts().CPlusPlus) && in isInterestingIdentifier()
982 bool IsModule = Reader.getPreprocessor().getCurrentModule() != nullptr; in markIdentifierFromAST() local
983 if (isInterestingIdentifier(Reader, II, IsModule)) in markIdentifierFromAST()
/llvm-project-15.0.7/flang/include/flang/Semantics/
H A Dscope.h95 bool IsModule() const { in IsModule() function
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dcheck-expression.cpp518 ultimate.owner().IsModule() || ultimate.owner().IsSubmodule()) { in operator ()()
/llvm-project-15.0.7/flang/include/flang/Lower/
H A DPFTBuilder.h491 return scope && scope->IsModule();
/llvm-project-15.0.7/flang/lib/Lower/
H A DPFTBuilder.cpp1332 if (parentScope->IsModule()) in analyzeAliasesInCurrentScope()