Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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/JSON/Objective-C/Protobuf/C# code.
20 $ clang-format --help
21 OVERVIEW: A tool to format C/C++/Java/JavaScript/JSON/Objective-C/Protobuf/C# code.
29 USAGE: clang-format [options] [@<file>] [<file> ...]
33 Clang-format options:
37 =unknown - If set, unknown format options are only warned about.
41 differing format depending on an option being
44 .clang-format file.
46 If this is not passed, the .clang-format file is searched
[all …]
H A DClangFormatStyleOptions.rst3 This file is automatically generated, in part. Do not edit the style options
4 in this file directly. Instead, modify them in include/clang/Format/Format.h
9 <style type="text/css">
11 </style>
19 :doc:`ClangFormatStyleOptions` describes configurable formatting style options
22 When using :program:`clang-format` command line utility or
23 ``clang::format::reformat(...)`` functions from code, one can either use one of
25 create a custom style by configuring specific style options.
28 Configuring Style with clang-format
31 :program:`clang-format` supports two ways to provide custom style options:
[all …]
H A DUsersManual.rst18 `Clang Web Site <https://clang.llvm.org>`_ or the `LLVM Web
25 `Clang Static Analyzer <https://clang-analyzer.llvm.org>`_, please see its web
55 Clang also provides an alternative driver, :ref:`clang-cl`, that is designed
164 output format of the diagnostics that it generates.
239 …<b><span style="color:black">test.c:28:8: <span style="color:magenta">warning</span>: extra tokens…
241 <span style="color:green">^</span>
242 <span style="color:green">//</span>
260 .. option:: -fdiagnostics-format=clang/msvc/vi
262 Changes diagnostic output format to better match IDEs and command line tools.
264 This option controls the output format of the filename, line number,
[all …]
H A DLanguageExtensions.rst50 #define __has_builtin(x) 0 // Compatibility with non-clang compilers.
81 #define __has_constexpr_builtin(x) 0 // Compatibility with non-clang compilers.
114 #define __has_feature(x) 0 // Compatibility with non-clang compilers.
157 name of a double-square-bracket-style attribute. The argument can either be a
174 #if __has_cpp_attribute(clang::fallthrough)
175 #define FALLTHROUGH [[clang::fallthrough]]
181 The attribute scope tokens ``clang`` and ``_Clang`` are interchangeable, as are
199 #define __has_c_attribute(x) 0 // Compatibility with non-clang compilers.
210 The attribute scope tokens ``clang`` and ``_Clang`` are interchangeable, as are
220 a GNU-style attribute. It evaluates to 1 if the attribute is supported by the
[all …]
/openbsd-src/usr.sbin/nsd/doc/
H A DRELNOTES138 - Fix unused variable warning in unit test, from clang compile.
181 readable text format. The number of IXFRs is num.rixfr in
524 where our fallback function left it, msg_flags also does not exist
546 fallback to axfr is possible. log is enabled at high verbosity.
552 - Fixup clang analysis warning in xfrd_parse_received_xfr_packet
636 - Use travis for build check, initial unit test and clang analysis.
697 - Tab style fix to use tab for 8 spaces, from Xiaobo Liu.
717 - Fix coding style in nsd.c
720 - please clang analyzer and fix parse of IPSECKEY with bad gateway.
780 printout from clang analyzer.
[all …]
H A DChangeLog165 - Fix unused variable warning in unit test, from clang compile.
263 - Update to clang 14 in cirrus build test on Ubuntu Jammy 22.04.
309 readable text format. The number of IXFRs is num.rixfr in
995 where our fallback function left it, msg_flags also does not exist
1034 - Fixup clang analysis warning in xfrd_parse_received_xfr_packet
1047 fallback to axfr is possible. log is enabled at high verbosity.
1187 - Nicer output on travis for clang analysis.
1199 - Use travis for build check, initial unit test and clang analysis.
1292 - assertions for clang analysis.
1306 if the database format is modified or updated.
[all …]
/openbsd-src/gnu/llvm/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
244 <https://clang.llvm.org/docs/BlockLanguageSpec.html>`, the same restriction
475 class [[clang::sycl_special_class]] accessor {};
[all …]
H A DDiagnosticSemaKinds.td362 "add enclosing parentheses to perform a function-style cast">;
847 " but format string expands to at least %2">,
1036 "'#pragma clang attribute %select{%1.|}0pop' with no matching"
1037 " '#pragma clang attribute %select{%1.|}0push'">;
1039 "unused attribute %0 in '#pragma clang attribute push' region">,
1042 "'#pragma clang attribute push' regions ends here">;
1044 "'#pragma clang attribute push' at end of file">;
1048 "'#pragma clang attribute' attribute with no matching "
1049 "'#pragma clang attribute push'">;
2331 "|in type allocated by 'new'|in K&R-style function parameter"
[all …]
/openbsd-src/usr.sbin/nsd/
H A Dacx_nlnetlabs.m426 # 2015-12-11 FLTO check for new OSX, clang.
73 # ACX_CHECK_FORMAT_ATTRIBUTE - find cc printf format syntax.
94 # AHX_CONFIG_FORMAT_ATTRIBUTE - config.h text for format.
96 # AHX_CONFIG_FSEEKO - define fseeko, ftello fallback.
438 dnl in a way that supports clang and suncc (that flag does something else,
458 dnl Check the printf-format attribute (if any)
463 AC_MSG_CHECKING(whether the C compiler (${CC-cc}) accepts the "format" attribute)
467 void f (char *format, ...) __attribute__ ((format (printf, 1, 2)));
468 void (*pf) (char *format, ...) __attribute__ ((format (printf, 1, 2)));
476 AC_DEFINE(HAVE_ATTR_FORMAT, 1, [Whether the C compiler accepts the "format" attribute])
[all …]
/openbsd-src/usr.sbin/unbound/
H A Dacx_nlnetlabs.m426 # 2015-12-11 FLTO check for new OSX, clang.
73 # ACX_CHECK_FORMAT_ATTRIBUTE - find cc printf format syntax.
94 # AHX_CONFIG_FORMAT_ATTRIBUTE - config.h text for format.
96 # AHX_CONFIG_FSEEKO - define fseeko, ftello fallback.
438 dnl in a way that supports clang and suncc (that flag does something else,
458 dnl Check the printf-format attribute (if any)
463 AC_MSG_CHECKING(whether the C compiler (${CC-cc}) accepts the "format" attribute)
467 void f (char *format, ...) __attribute__ ((format (printf, 1, 2)));
468 void (*pf) (char *format, ...) __attribute__ ((format (printf, 1, 2)));
476 AC_DEFINE(HAVE_ATTR_FORMAT, 1, [Whether the C compiler accepts the "format" attribute])
[all …]
/openbsd-src/usr.sbin/unbound/doc/
H A DChangelog622 - Mailing list patches from Daniel Gröber for DNS64 fallback to plain
626 - Update the dns64_lookup.rpl test for the DNS64 fallback patch.
850 clang test.
1301 - Merge PR #706: NXNS fallback.
1320 - Allow fallback to the parent side when MAX_TARGET_NX is reached.
1449 - Fix compile warnings for printf ll format on mingw compile.
1516 - please clang analyzer for loop in test code.
1718 and some whitespace style, to make it similar to the rest.
1877 - Fix clang-analysis warnings for testcode/readzone.c.
2151 - Fix #422: IPv6 fallback issue
[all...]
/openbsd-src/gnu/llvm/clang/include/clang/Driver/
H A DOptions.td1 //===--- Options.td - Options for clang -----------------------------------===//
9 // This file defines the options accepted by clang.
39 // clang and clang-cl modes.
46 // CC1Option - This option should be accepted by clang -cc1.
49 // CC1AsOption - This option should be accepted by clang -cc1as.
117 def clang_i_Group : OptionGroup<"<clang i group>">, Group<i_Group>, DocFlatten;
143 def f_clang_Group : OptionGroup<"<f (clang-only) group>">,
231 // Temporary groups for clang options which we know we don't support,
233 def clang_ignored_f_Group : OptionGroup<"<clang ignored f group>">,
235 def clang_ignored_m_Group : OptionGroup<"<clang ignored m group>">,
[all …]
/openbsd-src/gnu/usr.bin/perl/pod/
H A Dperlhacktips.pod71 BSD-style output) that the data you added really is read-only. (If it
128 them where available, providing there is also a fallback for compilers
154 void greet(char *file, unsigned int line, char *format, ...);
259 C99 format strings in C<< <inttypes.h> >>
279 fallback logic in the headers for platforms which don't have it.
538 fallback if the code will ever get executed on a platform that lacks
539 this non-standard extension to C. And that fallback would be another
878 intelligence, but for many types the right format is available as with
897 Also remember that the C<%p> format really does require a void pointer:
1093 version 2.17. They won't allow a C<%.s> format wit
[all...]
H A Dperl5140delta.pod620 Code that needs to work properly with both old- and new-style regexes
629 # Accept both old and new-style stringification
1694 name is empty; and abs2rel() properly handles Unix-style input (5.12.2).
1843 L<CPAN::Meta::Spec>. The older format F<META.yml> and F<MYMETA.yml> files are
2273 New style guide for POD documentation,
2361 L<Invalid strict version format (%s)|perldiag/"Invalid strict version format (%s)">
2365 L<Invalid version format (%s)|perldiag/"Invalid version format (%s)">
2673 with C<clang> ha
[all...]
/openbsd-src/gnu/llvm/llvm/docs/
H A DLangRef.rst413 Clang generates an access function to access C++-style TLS. The access
476 "``default``" - Default style
477 On targets that use the ELF object file format, default visibility
486 "``hidden``" - Hidden style
492 "``protected``" - Protected style
781 style <visibility>`, an optional :ref:`DLL storage class <dllstorageclass>`,
813 optional :ref:`linkage type <linkage>`, an optional :ref:`visibility style
880 :ref:`visibility style <visibility>`, an optional :ref:`DLL storage class
932 :ref:`visibility style <visibility>`.
1514 have a particular format. Specifically, it must begin with a sequence of
[all …]
/openbsd-src/share/dict/
H A Dweb237041 clang
68095 fallback
72685 format
191452 style