enum ArgType::MatchKind
Description
How well a given conversion specifier matches its argument.
Declared at: clang/include/clang/AST/FormatString.h:255
Enumerators
Name | Value | Comment |
---|---|---|
NoMatch | 0 | The conversion specifier and the argument types are incompatible. For instance, "%d" and float. |
Match | 1 | The conversion specifier and the argument type are compatible. For instance, "%d" and _Bool. |
NoMatchPedantic | 2 | The conversion specifier and the argument type are disallowed by the C standard, but are in practice harmless. For instance, "%p" and int*. |
NoMatchTypeConfusion | 3 | The conversion specifier and the argument type are compatible, but still seems likely to be an error. For instance, "%hd" and _Bool. |