enum ArgType::MatchKind

Description

How well a given conversion specifier matches its argument.

Declared at: clang/include/clang/AST/FormatString.h:255

Enumerators

NameValueComment
NoMatch0The conversion specifier and the argument types are incompatible. For instance, "%d" and float.
Match1The conversion specifier and the argument type are compatible. For instance, "%d" and _Bool.
NoMatchPedantic2The conversion specifier and the argument type are disallowed by the C standard, but are in practice harmless. For instance, "%p" and int*.
NoMatchTypeConfusion3The conversion specifier and the argument type are compatible, but still seems likely to be an error. For instance, "%hd" and _Bool.