Skip to content

Commit a130de9

Browse files
committed
Update docs to account for clang inferring format attribute
1 parent e77a856 commit a130de9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

clang/include/clang/Basic/AttrDocs.td

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9432,10 +9432,11 @@ def ModularFormatDocs : Documentation {
94329432
let Category = DocCatFunction;
94339433
let Content = [{
94349434
The ``modular_format`` attribute can be applied to a function that bears the
9435-
``format`` attribute to indicate that the implementation is modular on the
9436-
format string argument. When the format argument for a given call is constant,
9437-
the compiler may redirect the call to the symbol given as the first argument to
9438-
the attribute (the modular implementation function).
9435+
``format`` attribute (or standard library functions) to indicate that the
9436+
implementation is modular on the format string argument. When the format string
9437+
for a given call is constant, the compiler may redirect the call to the symbol
9438+
given as the first argument to the attribute (the modular implementation
9439+
function).
94399440

94409441
The second argument is a implementation name, and the remaining arguments are
94419442
aspects of the format string for the compiler to report. If the compiler does

0 commit comments

Comments
 (0)