Functions
-
size_t CountFormatArgs (std::string_view msg)Defined at line 72 of file ../../tools/fidl/fidlc/src/diagnostic_types.h
-
template <typename... Args>void CheckFormatArgs (std::string_view msg)Defined at line 87 of file ../../tools/fidl/fidlc/src/diagnostic_types.h
-
std::string Display (char c) -
std::string Display (const std::string & s) -
std::string Display (std::string_view s) -
std::string Display (const std::set<std::string_view> & s) -
std::string Display (SourceSpan s) -
std::string Display (Token::KindAndSubkind t) -
std::string Display (Openness o) -
std::string Display (Protocol::Method::Kind k) -
std::string Display (const Attribute * a) -
std::string Display (const AttributeArg * a) -
std::string Display (const Constant * c) -
std::string Display (Element::Kind k) -
std::string Display (Decl::Kind k) -
std::string Display (const Element * e) -
std::string Display (const std::vector<const Decl *> & d) -
std::string Display (const Platform & p) -
std::string Display (Version v) -
std::string Display (VersionRange r) -
std::string Display (const VersionSet & s) -
std::string Display (AbiKind k) -
std::string Display (AbiValue v) -
std::string Display (const std::vector<std::pair<VersionRange, SourceSpan>> & v) -
template <typename T, typename = decltype(std::to_string(std::declval<T>()))>std::string Display (T val)Defined at line 51 of file ../../tools/fidl/fidlc/src/diagnostic_types.h
-
std::string Display (const Type * t) -
std::string Display (const Name & n) -
template <typename... Args>std::string FormatDiagnostic (std::string_view msg, const Args &... args)TODO(https://fxbug.dev/42064981): Use std::format when we're on C++20.
Defined at line 57 of file ../../tools/fidl/fidlc/src/diagnostic_types.h
-
void IncorrectNumberOfFormatArgs ()No-op non-constexpr function used to produce an error.
Defined at line 84 of file ../../tools/fidl/fidlc/src/diagnostic_types.h