Lines Matching +refs:clang +refs:format +refs:replace

80 ``clang/Basic/Diagnostic*Kinds.td`` files, depending on what library will be
82 diagnostic, the severity of the diagnostic and the English translation + format
129 The format string for the diagnostic is very simple, but it has some power. It
132 some simple format strings:
137 "format string contains '\\0' within the string body"
143 These examples show some important points of format strings. You can use any
156 order as they are specified, you could have a format string with "``%1 %0``"
161 Here are some "best practices" for writing the English format string:
182 including variable names, types, labels, etc. The "``select``" format can be
198 **"s" format**
211 **"select" format**
218 This format specifier is used to merge multiple related diagnostics together
221 gets an integer argument and the format string selects the numbered option.
229 **"plural" format**
260 **"ordinal" format**
272 **"objcclass" format**
283 **"objcinstance" format**
294 **"q" format**
304 **"diff" format**
317 It is really easy to add format specifiers to the Clang diagnostics system, but
355 picking a suitable wording, and providing the information needed to format it
467 replaces the format string for the diagnostic.
531 The clang Driver and library are documented :doc:`here <DriverInternals>`.
539 `LLVM bitstream format <http://llvm.org/docs/BitCodeFormat.html>`_.
713 methods will maximally form the specified annotation tokens and replace the
1534 "``foo() || 1``" always evaluates to ``true``, but we can't replace the
1630 <//clang.llvm.org/docs/AttributeReference.html>`_.
1659 derived from ``clang::Attr``, information for the parser to use, automated
1663 ``include/clang/Basic/Attr.td``
1666 `include/clang/Basic/Attr.td
1667 <http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Attr.td?view=markup>`_.
1679 attribute is supported by another vendor but not supported by clang.
1703 ``"clang"``.
1713 be used by Clang, it should set the namespace to ``"clang"``.
1728 in `include/clang/Sema/AttributeList.h
1729 <http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Sema/AttributeList.h?view=markup>`_
1753 stand-alone definition in `include/clang/Basic/AttrDocs.td
1754 <http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/AttdDocs.td?view=markup>`_
1782 Local testing requires a fresh build of clang-tblgen. To generate the attribute
1785clang-tblgen -gen-attr-docs -I /path/to/clang/include /path/to/clang/include/clang/Basic/Attr.td -…
1900 `include/clang/Basic/DiagnosticGroups.td
1901 <http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticGroups.td?view=markup>…
1905 <http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td?view=mark…
1919 The ``clang::Decl`` object can be queried for the presence or absence of an
2017 * Inspect the generated AST by printing it using ``clang -cc1 -ast-print``,
2020 * Inspect the generated AST under ``clang -cc1 -ast-dump`` to verify that
2038 ``ConvertTypeForMem`` that convert Clang's types (``clang::Type*`` or
2039 ``clang::QualType``) to LLVM types. Use the former for values, and the
2055 * Testing is extremely important in IR generation. Use ``clang -cc1