Lines Matching +refs:clang +refs:format +refs:buffer
3 NOTE: This file is automatically generated by running clang-tblgen
66 acquire_capability (acquire_shared_capability, clang::acquire_capability, clang::acquire_shared_cap…
76 assert_capability (assert_shared_capability, clang::assert_capability, clang::assert_shared_capabil…
282 "chosen when the buffer size is known but 'maxlen' is not")))
327 format (gnu::format)
334 Clang supports the ``format`` attribute, which indicates that the function
335 accepts a ``printf`` or ``scanf``-like format string and corresponding
338 Please see `GCC documentation about format attribute
344 #. Clang checks that the function with the ``format`` attribute is called with
345 a format string that uses format specifiers that are allowed, and that
346 arguments match the format string. This is the ``-Wformat`` warning, it is
349 #. Clang checks that the format string argument is a literal string. This is
355 fuctions. Clang does not warn if the format string comes from a function
366 vprintf(s, ap); // warning: format string is not a string literal
369 In this case we warn because ``s`` contains a format string for a
372 If the attribute is removed, clang still warns, because the format string is
387 In this case Clang does not warn because the format string ``s`` and
392 noduplicate (clang::noduplicate)
411 // void nodupfunc() [[clang::noduplicate]];
572 optnone (clang::optnone)
689 release_capability (release_shared_capability, clang::release_capability, clang::release_shared_cap…
699 try_acquire_capability (try_acquire_shared_capability, clang::try_acquire_capability, clang::try_ac…
822 fallthrough (clang::fallthrough)
829 The ``clang::fallthrough`` attribute is used along with the
852 [[clang::fallthrough]];
860 [[clang::fallthrough]];
864 [[clang::fallthrough]]; // warning: fallthrough annotation does not
967 the buffer type matches the passed ``MPI_Datatype``;
1086 struct my_pair *buffer;
1087 MPI_Send(buffer, 1, MPI_DOUBLE_INT /*, ... */); // no warning
1091 MPI_Send(buffer2, 1, MPI_DOUBLE_INT /*, ... */); // warning: actual buffer element
1107 MPI_Send(buffer, 1, MPI_DATATYPE_NULL /*, ... */); // warning: MPI_DATATYPE_NULL
1108 // was specified but buffer