Skip to content

Commit 46a0008

Browse files
committed
Update docs to account for clang inferring format attribute
1 parent 4c53b27 commit 46a0008

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
@@ -9554,10 +9554,11 @@ def ModularFormatDocs : Documentation {
95549554
let Category = DocCatFunction;
95559555
let Content = [{
95569556
The ``modular_format`` attribute can be applied to a function that bears the
9557-
``format`` attribute to indicate that the implementation is modular on the
9558-
format string argument. When the format argument for a given call is constant,
9559-
the compiler may redirect the call to the symbol given as the first argument to
9560-
the attribute (the modular implementation function).
9557+
``format`` attribute (or standard library functions) to indicate that the
9558+
implementation is modular on the format string argument. When the format string
9559+
for a given call is constant, the compiler may redirect the call to the symbol
9560+
given as the first argument to the attribute (the modular implementation
9561+
function).
95619562

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

0 commit comments

Comments
 (0)