/external/llvm-project/flang/include/flang/Parser/ |
D | message.h | 34 class MessageFixedText { 36 constexpr MessageFixedText( 39 constexpr MessageFixedText(const MessageFixedText &) = default; 40 constexpr MessageFixedText(MessageFixedText &&) = default; 41 constexpr MessageFixedText &operator=(const MessageFixedText &) = default; 42 constexpr MessageFixedText &operator=(MessageFixedText &&) = default; 53 constexpr MessageFixedText operator""_en_US(const char str[], std::size_t n) { 54 return MessageFixedText{str, n, false /* not fatal */}; 57 constexpr MessageFixedText operator""_err_en_US( 59 return MessageFixedText{str, n, true /* fatal */}; [all …]
|
D | instrumented-parser.h | 31 bool Fails(const char *at, const MessageFixedText &tag, ParseState &); 32 void Note(const char *at, const MessageFixedText &tag, bool pass, 45 std::map<MessageFixedText, Entry> perTag; 54 constexpr InstrumentedParser(const MessageFixedText &tag, const PA &parser) in InstrumentedParser() 74 const MessageFixedText tag_; 80 const MessageFixedText &tag, const PA &parser) { in instrumented()
|
D | parse-state.h | 123 void PushContext(MessageFixedText text) { in PushContext() 141 template <typename... A> void Say(const MessageFixedText &text, A &&...args) { in Say() 149 void Nonstandard(LanguageFeature lf, const MessageFixedText &msg) { in Nonstandard() 153 CharBlock range, LanguageFeature lf, const MessageFixedText &msg) { in Nonstandard() 159 bool IsNonstandardOk(LanguageFeature lf, const MessageFixedText &msg) { in IsNonstandardOk()
|
/external/llvm-project/flang/lib/Parser/ |
D | instrumented-parser.cpp | 21 bool operator<(const MessageFixedText &x, const MessageFixedText &y) { in operator <() 26 const char *at, const MessageFixedText &tag, ParseState &state) { in Fails() 47 void ParsingLog::Note(const char *at, const MessageFixedText &tag, bool pass, in Note()
|
D | message.cpp | 23 llvm::raw_ostream &operator<<(llvm::raw_ostream &o, const MessageFixedText &t) { in operator <<() 31 void MessageFormattedText::Format(const MessageFixedText *text, ...) { in Format() 150 [](const MessageFixedText &x) { return x.isFatal(); }, in IsFatal() 159 [](const MessageFixedText &t) { in ToString()
|
D | basic-parsers.h | 53 constexpr explicit FailParser(MessageFixedText t) : text_{t} {} in FailParser() 60 const MessageFixedText text_; 63 template <typename A = Success> inline constexpr auto fail(MessageFixedText t) { in fail() 182 constexpr MessageContextParser(MessageFixedText t, PA p) in MessageContextParser() 192 const MessageFixedText text_; 197 inline constexpr auto inContext(MessageFixedText context, PA parser) { in inContext() 208 constexpr WithMessageParser(MessageFixedText t, PA p) in WithMessageParser() 240 const MessageFixedText text_; 245 inline constexpr auto withMessage(MessageFixedText msg, PA parser) { in withMessage() 820 inline constexpr auto localRecovery(MessageFixedText msg, PA pa, PB pb) { in localRecovery()
|
D | misc-parsers.h | 29 inline constexpr auto nonemptyList(MessageFixedText error, const PA &p) { in nonemptyList()
|
/external/llvm-project/flang/lib/Semantics/ |
D | check-coarray.h | 17 class MessageFixedText; variable 44 void Say2(const parser::CharBlock &, parser::MessageFixedText &&, 45 const parser::CharBlock &, parser::MessageFixedText &&);
|
D | mod-file.h | 19 class MessageFixedText; variable 79 parser::MessageFixedText &&, const std::string &);
|
D | check-coarray.cpp | 55 parser::MessageFixedText GetEnclosingMsg() { in GetEnclosingMsg() 184 parser::MessageFixedText &&msg1, const parser::CharBlock &name2, in Say2() 185 parser::MessageFixedText &&msg2) { in Say2()
|
D | pointer-assignment.cpp | 37 using parser::MessageFixedText; 150 std::optional<MessageFixedText> msg; in Check() 194 std::optional<std::variant<MessageFixedText, MessageFormattedText>> msg; in Check() 240 if (auto *m{std::get_if<MessageFixedText>(&*msg)}) { in Check() 256 if (std::optional<MessageFixedText> msg{ in Check()
|
D | resolve-names-utils.h | 47 parser::MessageFixedText WithIsFatal( 48 const parser::MessageFixedText &msg, bool isFatal);
|
D | resolve-names-utils.cpp | 44 parser::MessageFixedText WithIsFatal( in WithIsFatal() 45 const parser::MessageFixedText &msg, bool isFatal) { in WithIsFatal() 46 return parser::MessageFixedText{ in WithIsFatal() 394 std::optional<parser::MessageFixedText> msg; in CheckCanEquivalence() 541 parser::MessageFixedText msg{"", 0}; in CheckObject()
|
D | check-declarations.cpp | 77 std::optional<parser::MessageFixedText> CheckNumberOfArgs( 578 std::optional<parser::MessageFixedText> msg; in CheckArraySpec() 697 const Symbol &, const Symbol &, parser::MessageFixedText &&, A &&...); 740 std::optional<parser::MessageFixedText> error; in CheckSubprogram() 1065 std::optional<parser::MessageFixedText> msg; in CheckDefinedOperator() 1091 std::optional<parser::MessageFixedText> CheckHelper::CheckNumberOfArgs( in CheckNumberOfArgs() 1136 std::optional<parser::MessageFixedText> msg; in CheckDefinedOperatorArg() 1163 std::optional<parser::MessageFixedText> msg; in CheckDefinedAssignment() 1188 std::optional<parser::MessageFixedText> msg; in CheckDefinedAssignmentArg() 1365 std::optional<parser::MessageFixedText> msg; in CheckPassArg() [all …]
|
D | resolve-names.cpp | 51 using MessageFixedText = parser::MessageFixedText; typedef 115 Message &Say(MessageFixedText &&); 118 Message &Say(const SourceName &, MessageFixedText &&); 121 Message &Say(const SourceName &source, MessageFixedText &&msg, A &&...args) { in Say() 217 const parser::Name &name, MessageFixedText &&text, const A &...args) { in Say() 487 const parser::Name &, Symbol &, MessageFixedText &&, MessageFixedText &&); 488 void SayWithDecl(const parser::Name &, Symbol &, MessageFixedText &&); 490 void SayDerivedType(const SourceName &, MessageFixedText &&, const Scope &); 491 void Say2(const SourceName &, MessageFixedText &&, const SourceName &, 492 MessageFixedText &&); [all …]
|
D | tools.cpp | 777 std::optional<parser::MessageFixedText> WhyNotModifiable( in WhyNotModifiable() 887 std::optional<parser::MessageFixedText> GetImageControlStmtCoarrayMsg( in GetImageControlStmtCoarrayMsg() 894 -> std::optional<parser::MessageFixedText> { in GetImageControlStmtCoarrayMsg() 899 -> std::optional<parser::MessageFixedText> { in GetImageControlStmtCoarrayMsg() 904 -> std::optional<parser::MessageFixedText> { in GetImageControlStmtCoarrayMsg() 908 [](const auto &) -> std::optional<parser::MessageFixedText> { in GetImageControlStmtCoarrayMsg()
|
D | check-do-forall.cpp | 75 static parser::MessageFixedText GetEnclosingDoMsg() { in GetEnclosingDoMsg() 80 parser::MessageFixedText &&message, parser::CharBlock doLocation) { in SayWithDo() 600 parser::MessageFixedText &&errorMessage, in CheckNoCollisions()
|
D | scope.cpp | 219 std::optional<parser::MessageFixedText> Scope::SetImportKind(ImportKind kind) { in SetImportKind()
|
D | semantics.cpp | 266 const Symbol &variable, parser::MessageFixedText &&message) { in CheckIndexVarRedefine()
|
D | mod-file.cpp | 784 Say(name, ancestorName, parser::MessageFixedText{str.c_str(), str.size()}, in Read() 823 const std::string &ancestor, parser::MessageFixedText &&msg, in Say()
|
D | expression.cpp | 138 const char *, parser::MessageFixedText &&, bool isUserOp = false); 140 MaybeExpr TryDefinedOp(E opr, parser::MessageFixedText &&msg) { in TryDefinedOp() 152 std::vector<const char *>, parser::MessageFixedText &&); 2950 const char *opr, parser::MessageFixedText &&error, bool isUserOp) { in TryDefinedOp() 2991 std::vector<const char *> oprs, parser::MessageFixedText &&error) { in TryDefinedOp() 3049 std::optional<parser::MessageFixedText> msg; in OkLogicalIntegerAssignment()
|
/external/llvm-project/flang/include/flang/Semantics/ |
D | semantics.h | 149 parser::MessageFixedText &&msg, A &&...args) { in SayWithDecl() 177 const parser::CharBlock &, const Symbol &, parser::MessageFixedText &&);
|
D | tools.h | 173 std::optional<parser::MessageFixedText> WhyNotModifiable( 192 std::optional<parser::MessageFixedText> GetImageControlStmtCoarrayMsg(
|
D | scope.h | 212 std::optional<parser::MessageFixedText> SetImportKind(ImportKind);
|
/external/llvm-project/flang/lib/Evaluate/ |
D | tools.cpp | 869 std::optional<parser::MessageFixedText> CheckProcCompatibility(bool isCall, in CheckProcCompatibility() 872 std::optional<parser::MessageFixedText> msg; in CheckProcCompatibility()
|