| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | block-printf-attribute-1.c | 6 …void (^b) (int arg, const char * format, ...) __attribute__ ((__format__ (__printf__, 1, 3))) = … in main() 7 …^ __attribute__ ((__format__ (__printf__, 1, 3))) (int arg, const char * format, ...) {}; // expec… in main() 9 …g, const char * format, ...) __attribute__ ((__format__ (__printf__, 2, 3))) = ^ __attribute__ ((_… in main() 17 …r *, va_list, const char *, ...) __attribute__((__format__(__printf__, 1, 0))) __attribute__((__fo… in multi_attr() 18 …^ __attribute__((__format__(__printf__, 1, 0))) __attribute__((__format__(__scanf__, 3, 4))) (cons… in multi_attr()
|
| H A D | attr-format.c | 22 int (*printf)(const char *format, ...) __attribute__((__format__(printf, 1, 2))); // no-error 23 …int (*printf2)(double format, ...) __attribute__((__format__(printf, 1, 2))); // expected-error {{… 44 #define __printf0like(fmt, va) __attribute__((__format__(__printf0__, fmt, va))) 77 __attribute__((__format__(__gcc_diag__, 1, 2))); 79 __attribute__((__format__(__gcc_cdiag__, 1, 2))); 81 __attribute__((__format__(__gcc_cxxdiag__, 1, 2))); 83 __attribute__((__format__(__gcc_tdiag__, 1, 2)));
|
| H A D | format-strings.c | 77 __attribute__((__format__ (__printf__, 2, 4))) 491 __attribute__((__format__(__printf__, 1, 0))) 492 __attribute__((__format__(__scanf__, 3, 4))); 690 __attribute__((__format__(__printf__, 1, 3))); 692 __attribute__((__format__(__scanf__, 2, 3))); 695 __attribute__((__format__(__scanf__, 2, 3))); 697 __attribute__((__format__(__printf__, 1, 3))); 749 __attribute__((__format__(__printf__, 1, 3))); 801 void __attribute__((__format__(__printf__, 1, 2))) (^printf_arg1)( in test_block() 813 void __attribute__((__format__(__printf__, 2, 3))) (^printf_arg2)( in test_block() [all …]
|
| H A D | no-format-y2k-turnsoff-format.c | 4 void foo(const char *, ...) __attribute__((__format__ (__printf__, 1, 2)));
|
| H A D | declspec.c | 6 void foof(const char *, ...) __attribute__((__format__(__printf__, 1, 2))), barf (void);
|
| H A D | format-strings-freebsd.c | 7 int freebsd_kernel_printf(const char *, ...) __attribute__((__format__(__freebsd_kprintf__, 1, 2)));
|
| H A D | format-strings-scanf.c | 32 int my_scanf(const char * restrict, ...) __attribute__((__format__(__scanf__, 1, 2)));
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | format-strings.cpp | 54 int test_null_format(const char *format, ...) __attribute__((__format__ (__printf__, 1, 2))); 153 …void func1(const char *, ...) __attribute__((__format__(printf, 1, 2))); // expected-error {{forma… 154 void (*func2)(const char *, ...) __attribute__((__format__(printf, 1, 2))); 155 static void (*func3)(const char *, ...) __attribute__((__format__(printf, 1, 2))); 156 static void func4(const char *, ...) __attribute__((__format__(printf, 1, 2)));
|
| H A D | printf-block.cpp | 5 …^block) (int, const char *,...) __attribute__((__format__(__printf__,2,3))) = ^ __attribute__((__f…
|
| H A D | printf-cstr.cpp | 74 Printf(const char *,...) __attribute__((__format__(__printf__,2,3)));
|
| /llvm-project-15.0.7/clang/test/Parser/ |
| H A D | cxx-attributes.cpp | 5 __attribute__ (( __format__(__printf__,2,3) )) = 0; 7 __attribute__ (( __format__(__printf__,2,3) )) {} in f2()
|
| /llvm-project-15.0.7/clang/test/ASTMerge/attr/Inputs/ |
| H A D | FormatAttr.cpp | 1 int foo(const char *fmt, ...) __attribute__((__format__(__scanf__, 1, 2)));
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/google/ |
| H A D | runtime-int.cpp | 76 __attribute__((__format__ (__printf__, 1, 2)))
|
| /llvm-project-15.0.7/lldb/include/lldb/Utility/ |
| H A D | Stream.h | 136 __attribute__((__format__(__printf__, 2, 3)));
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | blocks.m | 48 …nt asl, aslmsg msg, int level, const char *format, ...) __attribute__((__format__ (__printf__, 4, …
|
| /llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/internal/ |
| H A D | gtest-port.h | 672 __attribute__((__format__(__MINGW_PRINTF_FORMAT, string_index, \ 676 __attribute__((__format__(__printf__, string_index, first_to_check)))
|
| /llvm-project-15.0.7/third-party/benchmark/tools/gbench/ |
| H A D | report.py | 24 def __format__(self, format): member in BenchmarkColor
|
| /llvm-project-15.0.7/libcxx/include/ |
| H A D | __config | 1171 __attribute__((__format__(archetype, format_string_index, first_format_arg_index)))
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | AttrDocs.td | 3117 __attribute__((__format__ (__scanf__, 1, 3))) 3135 __attribute__((__format__ (__printf__, 1, 3))) 3155 __attribute__((__format__(__printf__, 1, 2)))
|