Skip to content

Commit dbd48a1

Browse files
committed
Update docs to account for clang inferring format attribute
1 parent a9ac228 commit dbd48a1

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
@@ -9640,10 +9640,11 @@ def ModularFormatDocs : Documentation {
96409640
let Category = DocCatFunction;
96419641
let Content = [{
96429642
The ``modular_format`` attribute can be applied to a function that bears the
9643-
``format`` attribute to indicate that the implementation is modular on the
9644-
format string argument. When the format argument for a given call is constant,
9645-
the compiler may redirect the call to the symbol given as the first argument to
9646-
the attribute (the modular implementation function).
9643+
``format`` attribute (or standard library functions) to indicate that the
9644+
implementation is modular on the format string argument. When the format string
9645+
for a given call is constant, the compiler may redirect the call to the symbol
9646+
given as the first argument to the attribute (the modular implementation
9647+
function).
96479648

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

0 commit comments

Comments
 (0)