Home
last modified time | relevance | path

Searched refs:ImportKind (Results 1 – 10 of 10) sorted by relevance

/external/llvm-project/flang/lib/Semantics/
Dscope.cpp205 Scope::ImportKind Scope::GetImportKind() const { in GetImportKind()
212 return ImportKind::None; // default for non-mod-proc interface body in GetImportKind()
216 return ImportKind::Default; in GetImportKind()
219 std::optional<parser::MessageFixedText> Scope::SetImportKind(ImportKind kind) { in SetImportKind()
224 bool hasNone{kind == ImportKind::None || *importKind_ == ImportKind::None}; in SetImportKind()
225 bool hasAll{kind == ImportKind::All || *importKind_ == ImportKind::All}; in SetImportKind()
232 (kind != ImportKind::Only || kind != ImportKind::Only)) { in SetImportKind()
250 case ImportKind::None: in CanImport()
252 case ImportKind::All: in CanImport()
253 case ImportKind::Default: in CanImport()
[all …]
Dresolve-names.cpp5448 } else if (x.kind == common::ImportKind::None) { in Pre()
6177 case common::ImportKind::None: in CheckImports()
6179 case common::ImportKind::All: in CheckImports()
6189 case common::ImportKind::Default: in CheckImports()
6190 case common::ImportKind::Only: in CheckImports()
/external/llvm-project/flang/include/flang/Semantics/
Dscope.h62 using ImportKind = common::ImportKind;
206 ImportKind GetImportKind() const;
212 std::optional<parser::MessageFixedText> SetImportKind(ImportKind);
269 std::optional<ImportKind> importKind_;
/external/llvm-project/lld/COFF/
DInputFiles.h69 ImportKind, enumerator
343 explicit ImportFile(MemoryBufferRef m) : InputFile(ImportKind, m) {} in ImportFile()
345 static bool classof(const InputFile *f) { return f->kind() == ImportKind; } in classof()
DInputFiles.cpp64 if (file->parentName.empty() || file->kind() == coff::InputFile::ImportKind) in toString()
/external/llvm-project/flang/lib/Parser/
Dparse-tree.cpp20 ImportStmt::ImportStmt(common::ImportKind &&k, std::list<Name> &&n) in ImportStmt()
22 CHECK(kind == common::ImportKind::Default ||
23 kind == common::ImportKind::Only || names.empty());
DFortran-parsers.cpp963 "IMPORT , ONLY :" >> pure(common::ImportKind::Only), listOfNames) ||
965 "IMPORT , NONE" >> pure(common::ImportKind::None)) ||
967 "IMPORT , ALL" >> pure(common::ImportKind::All)) ||
Dunparse.cpp685 case common::ImportKind::Default: in Unparse()
688 case common::ImportKind::Only: in Unparse()
692 case common::ImportKind::None: in Unparse()
695 case common::ImportKind::All: in Unparse()
/external/llvm-project/flang/include/flang/Common/
DFortran.h30 ENUM_CLASS(ImportKind, Default, Only, None, All)
/external/llvm-project/flang/include/flang/Parser/
Dparse-tree.h600 ImportStmt(common::ImportKind &&k) : kind{k} {} in ImportStmt()
602 ImportStmt(common::ImportKind &&, std::list<Name> &&);
603 common::ImportKind kind{common::ImportKind::Default};