Home
last modified time | relevance | path

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

/llvm-project-15.0.7/flang/lib/Semantics/
H A 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()
H A Dcheck-purity.h17 struct PrefixSpec;
31 bool HasPurePrefix(const std::list<parser::PrefixSpec> &) const;
32 void Entered(parser::CharBlock, const std::list<parser::PrefixSpec> &);
H A Dprogram-tree.cpp220 using ListType = std::list<parser::PrefixSpec>; in HasModulePrefix()
234 if (std::holds_alternative<parser::PrefixSpec::Module>(prefix.u)) { in HasModulePrefix()
H A Dresolve-names.cpp253 HANDLE_ATTR_CLASS(PrefixSpec::Elemental, ELEMENTAL)
254 HANDLE_ATTR_CLASS(PrefixSpec::Impure, IMPURE)
255 HANDLE_ATTR_CLASS(PrefixSpec::Module, MODULE)
256 HANDLE_ATTR_CLASS(PrefixSpec::Non_Recursive, NON_RECURSIVE)
257 HANDLE_ATTR_CLASS(PrefixSpec::Pure, PURE)
258 HANDLE_ATTR_CLASS(PrefixSpec::Recursive, RECURSIVE)
825 bool Pre(const parser::PrefixSpec &);
3255 bool SubprogramVisitor::Pre(const parser::PrefixSpec &x) { in Pre()
3297 Walk(std::get<std::list<parser::PrefixSpec>>(stmt.t)); in Pre()
/llvm-project-15.0.7/flang/lib/Parser/
H A Dprogram-parsers.cpp470 TYPE_PARSER(first(construct<PrefixSpec>(declarationTypeSpec),
471 construct<PrefixSpec>(construct<PrefixSpec::Elemental>("ELEMENTAL"_tok)),
472 construct<PrefixSpec>(construct<PrefixSpec::Impure>("IMPURE"_tok)),
473 construct<PrefixSpec>(construct<PrefixSpec::Module>("MODULE"_tok)),
474 construct<PrefixSpec>(
475 construct<PrefixSpec::Non_Recursive>("NON_RECURSIVE"_tok)),
476 construct<PrefixSpec>(construct<PrefixSpec::Pure>("PURE"_tok)),
477 construct<PrefixSpec>(construct<PrefixSpec::Recursive>("RECURSIVE"_tok))))
H A Dtype-parsers.h122 constexpr Parser<PrefixSpec> prefixSpec; // R1527
H A Dunparse.cpp1714 void Post(const PrefixSpec::Elemental) { Word("ELEMENTAL"); } // R1527 in Post()
1715 void Post(const PrefixSpec::Impure) { Word("IMPURE"); } in Post()
1716 void Post(const PrefixSpec::Module) { Word("MODULE"); } in Post()
1717 void Post(const PrefixSpec::Non_Recursive) { Word("NON_RECURSIVE"); } in Post()
1718 void Post(const PrefixSpec::Pure) { Word("PURE"); } in Post()
1719 void Post(const PrefixSpec::Recursive) { Word("RECURSIVE"); } in Post()
1721 Walk("", std::get<std::list<PrefixSpec>>(x.t), " ", " "); in Unparse()
1738 Walk("", std::get<std::list<PrefixSpec>>(x.t), " ", " "); in Unparse()
/llvm-project-15.0.7/flang/include/flang/Parser/
H A Ddump-parse-tree.h589 NODE(parser, PrefixSpec) in NODE()
590 NODE(PrefixSpec, Elemental) in NODE()
591 NODE(PrefixSpec, Impure) in NODE()
592 NODE(PrefixSpec, Module) in NODE()
593 NODE(PrefixSpec, Non_Recursive) in NODE()
594 NODE(PrefixSpec, Pure) in NODE()
595 NODE(PrefixSpec, Recursive) in NODE()
H A Dparse-tree.h3020 struct PrefixSpec { struct
3021 UNION_CLASS_BOILERPLATE(PrefixSpec);
3052 std::tuple<std::list<PrefixSpec>, Name, std::list<Name>, argument
3071 std::tuple<std::list<PrefixSpec>, Name, std::list<DummyArg>,