Home
last modified time | relevance | path

Searched refs:PrefixSpec (Results 1 – 9 of 9) sorted by relevance

/external/llvm-project/flang/lib/Semantics/
Dcheck-purity.cpp23 stmt.source, std::get<std::list<parser::PrefixSpec>>(stmt.statement.t)); in Enter()
31 stmt.source, std::get<std::list<parser::PrefixSpec>>(stmt.statement.t)); in Enter()
41 const std::list<parser::PrefixSpec> &prefixes) const { in HasPurePrefix()
42 for (const parser::PrefixSpec &prefix : prefixes) { in HasPurePrefix()
43 if (std::holds_alternative<parser::PrefixSpec::Pure>(prefix.u)) { in HasPurePrefix()
51 parser::CharBlock source, const std::list<parser::PrefixSpec> &prefixes) { in Entered()
Dcheck-purity.h17 struct PrefixSpec;
31 bool HasPurePrefix(const std::list<parser::PrefixSpec> &) const;
32 void Entered(parser::CharBlock, const std::list<parser::PrefixSpec> &);
Dprogram-tree.cpp136 using ListType = std::list<parser::PrefixSpec>; in HasModulePrefix()
150 if (std::holds_alternative<parser::PrefixSpec::Module>(prefix.u)) { in HasModulePrefix()
Dresolve-names.cpp250 HANDLE_ATTR_CLASS(PrefixSpec::Elemental, ELEMENTAL)
251 HANDLE_ATTR_CLASS(PrefixSpec::Impure, IMPURE)
252 HANDLE_ATTR_CLASS(PrefixSpec::Module, MODULE)
253 HANDLE_ATTR_CLASS(PrefixSpec::Non_Recursive, NON_RECURSIVE)
254 HANDLE_ATTR_CLASS(PrefixSpec::Pure, PURE)
255 HANDLE_ATTR_CLASS(PrefixSpec::Recursive, RECURSIVE)
695 bool Pre(const parser::PrefixSpec &);
2738 bool SubprogramVisitor::Pre(const parser::PrefixSpec &x) { in Pre()
/external/llvm-project/flang/lib/Parser/
Dprogram-parsers.cpp463 TYPE_PARSER(first(construct<PrefixSpec>(declarationTypeSpec),
464 construct<PrefixSpec>(construct<PrefixSpec::Elemental>("ELEMENTAL"_tok)),
465 construct<PrefixSpec>(construct<PrefixSpec::Impure>("IMPURE"_tok)),
466 construct<PrefixSpec>(construct<PrefixSpec::Module>("MODULE"_tok)),
467 construct<PrefixSpec>(
468 construct<PrefixSpec::Non_Recursive>("NON_RECURSIVE"_tok)),
469 construct<PrefixSpec>(construct<PrefixSpec::Pure>("PURE"_tok)),
470 construct<PrefixSpec>(construct<PrefixSpec::Recursive>("RECURSIVE"_tok))))
Dtype-parsers.h121 constexpr Parser<PrefixSpec> prefixSpec; // R1527
Dunparse.cpp1692 void Post(const PrefixSpec::Elemental) { Word("ELEMENTAL"); } // R1527 in Post()
1693 void Post(const PrefixSpec::Impure) { Word("IMPURE"); } in Post()
1694 void Post(const PrefixSpec::Module) { Word("MODULE"); } in Post()
1695 void Post(const PrefixSpec::Non_Recursive) { Word("NON_RECURSIVE"); } in Post()
1696 void Post(const PrefixSpec::Pure) { Word("PURE"); } in Post()
1697 void Post(const PrefixSpec::Recursive) { Word("RECURSIVE"); } in Post()
1699 Walk("", std::get<std::list<PrefixSpec>>(x.t), " ", " "); in Unparse()
1716 Walk("", std::get<std::list<PrefixSpec>>(x.t), " ", " "); in Unparse()
/external/llvm-project/flang/include/flang/Parser/
Ddump-parse-tree.h577 NODE(parser, PrefixSpec) in NODE()
578 NODE(PrefixSpec, Elemental) in NODE()
579 NODE(PrefixSpec, Impure) in NODE()
580 NODE(PrefixSpec, Module) in NODE()
581 NODE(PrefixSpec, Non_Recursive) in NODE()
582 NODE(PrefixSpec, Pure) in NODE()
583 NODE(PrefixSpec, Recursive) in NODE()
Dparse-tree.h2999 struct PrefixSpec { struct
3000 UNION_CLASS_BOILERPLATE(PrefixSpec);
3031 std::tuple<std::list<PrefixSpec>, Name, std::list<Name>, argument
3050 std::tuple<std::list<PrefixSpec>, Name, std::list<DummyArg>,