Update docs to account for clang inferring format attribute
This commit is contained in:
parent
4c53b27ac2
commit
46a0008948
@ -9554,10 +9554,11 @@ def ModularFormatDocs : Documentation {
|
|||||||
let Category = DocCatFunction;
|
let Category = DocCatFunction;
|
||||||
let Content = [{
|
let Content = [{
|
||||||
The ``modular_format`` attribute can be applied to a function that bears the
|
The ``modular_format`` attribute can be applied to a function that bears the
|
||||||
``format`` attribute to indicate that the implementation is modular on the
|
``format`` attribute (or standard library functions) to indicate that the
|
||||||
format string argument. When the format argument for a given call is constant,
|
implementation is modular on the format string argument. When the format string
|
||||||
the compiler may redirect the call to the symbol given as the first argument to
|
for a given call is constant, the compiler may redirect the call to the symbol
|
||||||
the attribute (the modular implementation function).
|
given as the first argument to the attribute (the modular implementation
|
||||||
|
function).
|
||||||
|
|
||||||
The second argument is a implementation name, and the remaining arguments are
|
The second argument is a implementation name, and the remaining arguments are
|
||||||
aspects of the format string for the compiler to report. If the compiler does
|
aspects of the format string for the compiler to report. If the compiler does
|
||||||
|
Loading…
x
Reference in New Issue
Block a user