Lines Matching +refs:clang +refs:format +refs:buffer

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>`_.
562 preprocessor is capable of reading from: a buffer lexer (provided by the
578 front-end periodically needs to buffer tokens up for tentative parsing and
594 compiler. By pointing into the original source buffer, it is always possible
723 buffer and deciding what they mean. The ``Lexer`` is complicated by the fact
749 that are local to a lexed buffer, which change as the buffer is lexed:
758 <MultipleIncludeOpt>` object, which is used to detect whether the buffer uses
760 inclusion. If a buffer does, subsequent includes can be ignored if the
771 tokens from an arbitrary buffer of tokens. The later use is used by
783 buffer uses this idiom and is subsequently ``#include``'d, the preprocessor can
1626 Attributes in clang come in two forms: parsed form, and semantic form. Both
1631 ``include/clang/Basic/Attr.td``
1634 First, add your attribute to the `include/clang/Basic/Attr.td
1635 <http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/Attr.td?view=markup>`_
1648 supported by another vendor, but not supported by clang.
1671 found in `include/clang/Sema/AttributeList.h
1672 <http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Sema/AttributeList.h?view=markup>`_
1764 is a stand-alone definition in `include/clang/Basic/AttrDocs.td
1765 <http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/AttdDocs.td?view=markup>`_
1790 `include/clang/Basic/DiagnosticGroups.td
1791 <http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticGroups.td?view=markup>…
1795 <http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td?view=mark…
1903 * Inspect the generated AST by printing it using ``clang -cc1 -ast-print``,
1906 * Inspect the generated AST under ``clang -cc1 -ast-dump`` to verify that
1924 ``ConvertTypeForMem`` that convert Clang's types (``clang::Type*`` or
1925 ``clang::QualType``) to LLVM types. Use the former for values, and the
1941 * Testing is extremely important in IR generation. Use ``clang -cc1