Home
last modified time | relevance | path

Searched +refs:clang +refs:format +refs:fallback +refs:style (Results 1 – 25 of 39) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/clang/docs/
H A DClangFormat.rst13 :program:`clang-format` is located in `clang/tools/clang-format` and can be used
14 to format C/C++/Java/JavaScript/Objective-C/Protobuf/C# code.
18 $ clang-format -help
19 OVERVIEW: A tool to format C/C++/Java/JavaScript/Objective-C/Protobuf/C# code.
27 USAGE: clang-format [options] [<file> ...]
31 Clang-format options:
35 =unknown - If set, unknown format options are only warned about.
39 differing format depending on an option being
42 When reading from stdin, clang-format assumes this
45 clang-format from an editor integration
[all …]
H A DClangFormatStyleOptions.rst5 :doc:`ClangFormatStyleOptions` describes configurable formatting style options
8 When using :program:`clang-format` command line utility or
9 ``clang::format::reformat(...)`` functions from code, one can either use one of
11 create a custom style by configuring specific style options.
14 Configuring Style with clang-format
17 :program:`clang-format` supports two ways to provide custom style options:
18 directly specify style configuration in the ``-style=`` command line option or
19 use ``-style=file`` and put style configuration in the ``.clang-format`` or
20 ``_clang-format`` file in the project directory.
22 When using ``-style=file``, :program:`clang-format` for each input file will
[all …]
H A DLanguageExtensions.rst50 #define __has_builtin(x) 0 // Compatibility with non-clang compilers.
85 #define __has_feature(x) 0 // Compatibility with non-clang compilers.
128 name of a double-square-bracket-style attribute. The argument can either be a
145 #if __has_cpp_attribute(clang::fallthrough)
146 #define FALLTHROUGH [[clang::fallthrough]]
152 The attribute scope tokens ``clang`` and ``_Clang`` are interchangeable, as are
170 #define __has_c_attribute(x) 0 // Compatibility with non-clang compilers.
181 The attribute scope tokens ``clang`` and ``_Clang`` are interchangeable, as are
191 a GNU-style attribute. It evaluates to 1 if the attribute is supported by the
197 #define __has_attribute(x) 0 // Compatibility with non-clang compilers.
[all …]
/netbsd-src/external/bsd/nsd/dist/doc/
H A DRELNOTES77 - Fix unused variable warning in unit test, from clang compile.
120 readable text format. The number of IXFRs is num.rixfr in
463 where our fallback function left it, msg_flags also does not exist
485 fallback to axfr is possible. log is enabled at high verbosity.
491 - Fixup clang analysis warning in xfrd_parse_received_xfr_packet
575 - Use travis for build check, initial unit test and clang analysis.
636 - Tab style fix to use tab for 8 spaces, from Xiaobo Liu.
656 - Fix coding style in nsd.c
659 - please clang analyzer and fix parse of IPSECKEY with bad gateway.
719 printout from clang analyzer.
[all …]
H A DChangeLog79 - Fix unused variable warning in unit test, from clang compile.
177 - Update to clang 14 in cirrus build test on Ubuntu Jammy 22.04.
223 readable text format. The number of IXFRs is num.rixfr in
909 where our fallback function left it, msg_flags also does not exist
948 - Fixup clang analysis warning in xfrd_parse_received_xfr_packet
961 fallback to axfr is possible. log is enabled at high verbosity.
1101 - Nicer output on travis for clang analysis.
1113 - Use travis for build check, initial unit test and clang analysis.
1206 - assertions for clang analysis.
1220 if the database format is modified or updated.
[all …]
/netbsd-src/external/bsd/nsd/dist/
H A Dacx_nlnetlabs.m423 # 2015-12-11 FLTO check for new OSX, clang.
70 # ACX_CHECK_FORMAT_ATTRIBUTE - find cc printf format syntax.
91 # AHX_CONFIG_FORMAT_ATTRIBUTE - config.h text for format.
93 # AHX_CONFIG_FSEEKO - define fseeko, ftello fallback.
435 dnl in a way that supports clang and suncc (that flag does something else,
455 dnl Check the printf-format attribute (if any)
460 AC_MSG_CHECKING(whether the C compiler (${CC-cc}) accepts the "format" attribute)
464 void f (char *format, ...) __attribute__ ((format (printf, 1, 2)));
465 void (*pf) (char *format, ...) __attribute__ ((format (printf, 1, 2)));
473 AC_DEFINE(HAVE_ATTR_FORMAT, 1, [Whether the C compiler accepts the "format" attribute])
[all …]
/netbsd-src/external/bsd/unbound/dist/
H A Dacx_nlnetlabs.m423 # 2015-12-11 FLTO check for new OSX, clang.
70 # ACX_CHECK_FORMAT_ATTRIBUTE - find cc printf format syntax.
91 # AHX_CONFIG_FORMAT_ATTRIBUTE - config.h text for format.
93 # AHX_CONFIG_FSEEKO - define fseeko, ftello fallback.
435 dnl in a way that supports clang and suncc (that flag does something else,
455 dnl Check the printf-format attribute (if any)
460 AC_MSG_CHECKING(whether the C compiler (${CC-cc}) accepts the "format" attribute)
464 void f (char *format, ...) __attribute__ ((format (printf, 1, 2)));
465 void (*pf) (char *format, ...) __attribute__ ((format (printf, 1, 2)));
473 AC_DEFINE(HAVE_ATTR_FORMAT, 1, [Whether the C compiler accepts the "format" attribute])
[all …]
/netbsd-src/external/lgpl3/mpfr/dist/
H A Dacinclude.m4305 dnl For the binary64 format, the smallest normal number is 2^(-1022).
306 dnl For the binary32 format, the smallest normal number is 2^(-126).
520 dnl Try to determine the format of double
532 AC_MSG_WARN([format of `double' unsupported or not recognized: $mpfr_cv_c_double_format])
536 dnl Now try to determine the format of long double
558 AC_MSG_WARN([This format is known on GCC/PowerPC platforms,])
564 AC_MSG_WARN([This format is known on GCC/PowerPC platforms,])
572 …AC_MSG_WARN([format of `long double' unsupported or not recognized: $mpfr_cv_c_long_double_format])
652 dnl 1. Use the hex format for the double constants (this format should be
664 AC_MSG_CHECKING(decimal float format)
[all …]
H A DChangeLog113 added much more tests (by constructing the format string in
118 [src/vasprintf.c] Coding style.
551 * Improved organization and style.
633 * Code style.
1145 thing from the spec point of view (and thus was used as the fallback).
1232 in commit 1877cf9aef96c2280aab60f67e5e7302676d199a (if the style
1254 [doc/mpfr.texi] Final typographic and style corrections.
1397 For mpfr_acosu, mpfr_asinu, mpfr_atanu and mpfr_atan2u, make the style
1876 [tools/ck-copyright-notice] Support the future ChangeLog format.
1882 Note: One currently gets a failure with the future ChangeLog format,
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DAttrDocs.td9 // To test that the documentation builds cleanly, you must run clang-tblgen to
15 // To run clang-tblgen to generate the .rst file:
16 // clang-tblgen -gen-attr-docs -I <root>/llvm/tools/clang/include
17 // <root>/llvm/tools/clang/include/clang/Basic/Attr.td -o
18 // <root>/llvm/tools/clang/docs/AttributeReference.rst
22 // Windows (from within the clang\docs directory):
24 // Non-Windows (from within the clang\docs directory):
30 NOTE: This file is automatically generated by running clang-tblgen
236 <https://clang.llvm.org/docs/BlockLanguageSpec.html>`, the same restriction
459 ``clang::musttail`` can only be applied to a ``return`` statement whose value
[all …]
H A DDiagnosticSemaKinds.td350 "add enclosing parentheses to perform a function-style cast">;
792 " but format string expands to at least %2">,
963 "'#pragma clang attribute %select{%1.|}0pop' with no matching"
964 " '#pragma clang attribute %select{%1.|}0push'">;
966 "unused attribute %0 in '#pragma clang attribute push' region">,
969 "'#pragma clang attribute push' regions ends here">;
971 "'#pragma clang attribute push' at end of file">;
975 "'#pragma clang attribute' attribute with no matching "
976 "'#pragma clang attribute push'">;
2247 "|in type allocated by 'new'|in K&R-style function parameter"
[all …]
/netbsd-src/external/mit/libuv/dist/
H A DChangeLog93 * zos: correctly format interface addresses names (Shuowang (Wayne) Zhang)
172 * thread,win: fix C90 style nit (ssrlive)
214 * win: fix style nits [NFC] (Jameson Nash)
619 * include: fx c++ style comments warnings (Turbinya)
652 * win,nfc: disable clang-format for
680 * nfci: address some style nits (Jameson Nash)
937 * win: address some style nits (Jameson Nash)
961 * win,tty: Added set cursor style to CSI sequences (erw7)
1180 * unix: update uv_fs_copyfile() fallback logic (Stefan Bender)
1408 * unix: fix clang scan-build warning (Kyle Edwards)
[all …]
/netbsd-src/external/bsd/unbound/dist/doc/
H A DChangelog40 - Mailing list patches from Daniel Gröber for DNS64 fallback to plain
44 - Update the dns64_lookup.rpl test for the DNS64 fallback patch.
268 clang test.
719 - Merge PR #706: NXNS fallback.
738 - Allow fallback to the parent side when MAX_TARGET_NX is reached.
867 - Fix compile warnings for printf ll format on mingw compile.
934 - please clang analyzer for loop in test code.
1136 and some whitespace style, to make it similar to the rest.
1295 - Fix clang-analysis warnings for testcode/readzone.c.
1569 - Fix #422: IPv6 fallback issues when IPv6 is not properly
[all …]
/netbsd-src/external/bsd/libevent/dist/
H A DChangeLog116 o Fix detection of the __has_attribute() for apple clang [ci skip] (7fd7c5ef Azat Khuzhin)
139 git log --format=' o %s (%h %aN)' release-2.1.9-beta...release-2.1.10-stable
193 git log --format=' o %s (%h %aN)' release-2.1.8-stable...release-2.1.9-beta
302 o Fix arc4random_addrandom() detecting and fallback (regression) (303d6d77)
319 date in RFC1123 format and running tests in parallel.
570 o test/regress_buffer: fix clang compilation warnings (d8fd4c0 Azat Khuzhin)
658 o http: make fallback for EVHTTP_CON_READ_ON_WRITE_ERROR more cleaner (d405492 Azat Khuzhin)
659 o http: coding style issue (365f181 Azat Khuzhin)
686 o travis-ci/osx: relink gcc/g++ instead of clang (481481d Azat Khuzhin)
711 …o For non GCC/clang on OSX the -Wno-deprecated-declarations may not be valid (b5ca365 Rainer Kelle…
[all …]
/netbsd-src/external/gpl3/autoconf/dist/doc/
H A Dstandards.info403 write the definition in pre-standard style like this,
417 the function definition in the pre-standard style.
728 When an error is spread over several files, you can use this format:
743 If you want to mention the column number, use this format:
752 would do best to print error messages using the noninteractive style.)
794 `ls' except that its default output format is always multi-column
795 format.
834 single-letter Unix-style options. We hope to make GNU more user
877 contains the canonical name for this program, in this format:
898 library you want to mention. Use the same format for these lines as for
[all …]
/netbsd-src/external/gpl3/binutils/dist/
H A DChangeLog.git64 executable. But if ld is configured --enable-default-hash-style=gnu
68 "--hash-style=both" for these tests to cancel the effect of
69 --enable-default-hash-style=gnu, like [x86_64 mark-plt tests].
229 Pass --hash-style=both to ld for -z mark-plt tests to support linker
230 configured with --enable-default-hash-style=gnu.
232 * testsuite/ld-x86-64/mark-plt-1b-x32.d: Pass --hash-style=both
797 Note that, GAS instruction (ginsn) format does not support
1095 - gcc and clang (to trigger both the has_stderr_symbol true and false cases)
1167 input format is not recognized. This problem occurs in the function
1540 format; if the UnwindInfo references an invalid frame, then the
[all …]
/netbsd-src/external/mit/isl/dist/doc/
H A Duser.pod85 =item * The format of C<isl_printer_print_qpolynomial>'s
149 When reading input in the original PolyLib format,
261 in C format by default. To print in C format, the output format
264 the expression in C format. Use C<isl_ast_expr_to_C_str> instead.
453 Building the C++ and Python bindings relies on the LLVM/clang libraries,
454 see C<http://clang.llvm.org/get_started.html>.
462 =item C<--with-clang=system>
464 Use the system clang libraries (installed in a default location).
466 =item C<--with-clang-prefix=>I<path>
468 Use the system clang libraries installed in I<path>.
[all …]
/netbsd-src/external/gpl3/gcc/dist/gcc/doc/
H A Dinvoke.texi266 -Wno-non-template-friend -Wold-style-cast @gol
304 -fdiagnostics-format=@r{[}text@r{|}json@r{]} @gol
311 -fdiagnostics-path-format=@r{[}none@r{|}separate-events@r{|}inline-events@r{]} @gol
316 -fdiagnostics-escape-format=@r{[}unicode@r{|}bytes@r{]}}
354 -Wno-format-contains-nul -Wno-format-extra-args @gol
371 -Wmissing-field-initializers -Wmissing-format-attribute @gol
380 -Wparentheses -Wno-pedantic-ms-format @gol
398 -Wsuggest-attribute=@r{[}pure@r{|}const@r{|}noreturn@r{|}format@r{|}malloc@r{]} @gol
474 -Wold-style-declaration -Wold-style-definition @gol
520 -ffast-math -ffinite-math-only -ffloat-store -fexcess-precision=@var{style} @gol
[all …]
H A Dgcc.info370 'format'), the 'unused' attribute for method arguments, the '@package'
595 -Wno-non-template-friend -Wold-style-cast
634 -fdiagnostics-format=[text|json]
641 -fdiagnostics-path-format=[none|separate-events|inline-events]
646 -fdiagnostics-escape-format=[unicode|bytes]
684 -Wno-format-contains-nul -Wno-format-extra-args
701 -Wmissing-field-initializers -Wmissing-format-attribute
710 -Wparentheses -Wno-pedantic-ms-format
728 -Wsuggest-attribute=[pure|const|noreturn|format|malloc]
803 -Wold-style-declaration -Wold-style-definition
[all …]
/netbsd-src/external/lgpl3/gmp/dist/
H A Dconfigure.ac504 # -mcpu=ev6 below has a fallback to -mcpu=ev56 for this reason.
628 # This is needed for clang, which is not content with flags like -mfpu=neon
1326 # there needs to be a fallback to just -mpower.
1522 # SunOS <= 4 cc doesn't know -xO3, fallback to -O2.
1726 # that as a fallback.
1813 # pentiumpro is the primary fallback when gcc doesn't know pentium4.
2092 # $gcc_cflags becomes a fallback for $gcc_32_cflags (the last in the
2093 # abilist), but there's no fallback for $gcc_64_cflags.
2696 # but it's "ar" format and cannot be used by the MS linker. There
3961 # -lcurses is required by libreadline. On a typical SVR4 style system this
/netbsd-src/external/gpl3/gcc.old/dist/gcc/doc/
H A Dinvoke.texi248 -Wno-non-template-friend -Wold-style-cast @gol
284 -fdiagnostics-format=@r{[}text@r{|}json@r{]} @gol
291 -fdiagnostics-path-format=@r{[}none@r{|}separate-events@r{|}inline-events@r{]} @gol
326 -Wno-format-contains-nul -Wno-format-extra-args @gol
342 -Wmissing-field-initializers -Wmissing-format-attribute @gol
349 -Wparentheses -Wno-pedantic-ms-format @gol
365 -Wsuggest-attribute=@r{[}pure@r{|}const@r{|}noreturn@r{|}format@r{|}malloc@r{]} @gol
427 -Wold-style-declaration -Wold-style-definition @gol
472 -ffast-math -ffinite-math-only -ffloat-store -fexcess-precision=@var{style} @gol
474 -fforward-propagate -ffp-contract=@var{style} -ffunction-sections @gol
[all …]
H A Dgcc.info362 'format'), the 'unused' attribute for method arguments, the '@package'
388 format as described in HSA Programmer's Reference Manual version 1.0.1.
579 -Wno-non-template-friend -Wold-style-cast
616 -fdiagnostics-format=[text|json]
623 -fdiagnostics-path-format=[none|separate-events|inline-events]
658 -Wno-format-contains-nul -Wno-format-extra-args
674 -Wmissing-field-initializers -Wmissing-format-attribute
681 -Wparentheses -Wno-pedantic-ms-format
697 -Wsuggest-attribute=[pure|const|noreturn|format|malloc]
758 -Wold-style-declaration -Wold-style-definition
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/docs/
H A DLangRef.rst416 Clang generates an access function to access C++-style TLS. The access
479 "``default``" - Default style
480 On targets that use the ELF object file format, default visibility
486 "``hidden``" - Hidden style
492 "``protected``" - Protected style
753 style <visibility>`, an optional :ref:`DLL storage class <dllstorageclass>`,
768 optional :ref:`linkage type <linkage>`, an optional :ref:`visibility style
844 :ref:`visibility style <visibility>`, an optional :ref:`DLL storage class
887 :ref:`visibility style <visibility>`.
1404 have a particular format. Specifically, it must begin with a sequence of
[all …]
/netbsd-src/external/gpl3/gcc/dist/
H A DNEWS154 * STABS: Support for emitting the STABS debugging format is
277 * Support for __builtin_shufflevector compatible with the clang
282 * Support for __builtin_dynamic_object_size compatible with the clang
310 + The printf and scanf format checking with [26]-Wformat now
311 supports the %b format specified by C2X for binary integers,
312 and the %B format recommended by C2X for printf.
486 now selects the IEEE 128-bit floating point format for
787 lightweight debugging format that provides information about C
789 types. This format is designed to be embedded in ELF files and to
793 debugging format mainly used in BPF programs and the Linux kernel.
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/
H A DNEWS295 other old-style function definitions are diagnosed by default
297 + The strftime format checking supports the %OB and %Ob formats.
474 + A blank format item at the end of a format specification, i.e.
476 -fdec-blank-format-item; this option is implied with -fdec.
760 controlled by the [51]-fdiagnostics-path-format option, or captured
761 in JSON form via [52]-fdiagnostics-format=json.
764 the JSON output from [54]-fdiagnostics-format=json.
912 …onlinedocs/gcc-10.1.0/gcc/Diagnostic-Message-Formatting-Options.html#index-fdiagnostics-path-format
913 ….org/onlinedocs/gcc-10.1.0/gcc/Diagnostic-Message-Formatting-Options.html#index-fdiagnostics-format
915 ….org/onlinedocs/gcc-10.1.0/gcc/Diagnostic-Message-Formatting-Options.html#index-fdiagnostics-format
[all …]

12