Searched refs:TorqueMessage (Results 1 – 6 of 6) sorted by relevance
12 std::string ErrorPrefixFor(TorqueMessage::Kind kind) { in ErrorPrefixFor()14 case TorqueMessage::Kind::kError: in ErrorPrefixFor()16 case TorqueMessage::Kind::kLint: in ErrorPrefixFor()69 for (const TorqueMessage& message : result.messages) { in WrappedMain()
32 struct TorqueMessage { struct40 DECLARE_CONTEXTUAL_VARIABLE(TorqueMessages, std::vector<TorqueMessage>); argument52 MessageBuilder(const std::string& message, TorqueMessage::Kind kind);69 TorqueMessage message_;70 std::vector<TorqueMessage> extra_messages_;78 static MessageBuilder Message(TorqueMessage::Kind kind, Args&&... args) { in Message()84 return Message(TorqueMessage::Kind::kError, std::forward<Args>(args)...); in Error()88 return Message(TorqueMessage::Kind::kLint, std::forward<Args>(args)...); in Lint()
54 std::vector<TorqueMessage> messages;
126 TorqueMessage::Kind kind) { in MessageBuilder()131 message_ = TorqueMessage{message, position, kind}; in MessageBuilder()
89 void AddTorqueMessage(const TorqueMessage& message) { in AddTorqueMessage()125 bool ShouldAddMessageOfKind(TorqueMessage::Kind kind) { in ShouldAddMessageOfKind()130 case TorqueMessage::Kind::kError: in ShouldAddMessageOfKind()133 case TorqueMessage::Kind::kLint: in ShouldAddMessageOfKind()147 Diagnostic::DiagnosticSeverity ServerityFor(TorqueMessage::Kind kind) { in ServerityFor()149 case TorqueMessage::Kind::kError: in ServerityFor()151 case TorqueMessage::Kind::kLint: in ServerityFor()165 for (const TorqueMessage& message : result.messages) { in SendCompilationDiagnostics()
20 base::Optional<TorqueMessage> error;