From: Hans Wennborg Date: Thu, 29 Aug 2019 14:18:54 +0000 (+0000) Subject: ReleaseNotes: fixes X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=49dc4150216b552e1acb1a4abee0b557c51f5632;p=clang ReleaseNotes: fixes git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_90@370360 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/ReleaseNotes.rst b/docs/ReleaseNotes.rst index f8a8298db2..dd2f146f08 100644 --- a/docs/ReleaseNotes.rst +++ b/docs/ReleaseNotes.rst @@ -89,7 +89,7 @@ Windows Support C Language Changes in Clang --------------------------- -- ``__FILE_NAME__`` macro has been added as a Clang specific extension supported +- The ``__FILE_NAME__`` macro has been added as a Clang specific extension supported in all C-family languages. This macro is similar to ``__FILE__`` except it will always provide the last path component when possible. @@ -117,7 +117,7 @@ Objective-C Language Changes in Clang - Fixed encoding of ObjC pointer types that are pointers to typedefs. -.. code-block:: objc + .. code-block:: objc typedef NSArray MyArray; @@ -251,15 +251,15 @@ clang-format - Add language support for clang-formatting C# files. - Add Microsoft coding style to encapsulate default C# formatting style. -- Added new option `PPDIS_BeforeHash` (in configuration: `BeforeHash`) to - `IndentPPDirectives` which indents preprocessor directives before the hash. -- Added new option `AlignConsecutiveMacros` to align the C/C++ preprocessor +- Added new option ``PPDIS_BeforeHash`` (in configuration: ``BeforeHash``) to + ``IndentPPDirectives`` which indents preprocessor directives before the hash. +- Added new option ``AlignConsecutiveMacros`` to align the C/C++ preprocessor macros of consecutive lines. libclang -------- -- When `CINDEXTEST_INCLUDE_ATTRIBUTED_TYPES` is not provided when making a +- When ``CINDEXTEST_INCLUDE_ATTRIBUTED_TYPES`` is not provided when making a CXType, the equivalent type of the AttributedType is returned instead of the modified type if the user does not want attribute sugar. The equivalent type represents the minimally-desugared type which the AttributedType is @@ -270,26 +270,26 @@ Static Analyzer --------------- - Fixed a bug where an incorrect checker name would be displayed for a bug - report.` + report. -- New checker: 'security.insecureAPI.DeprecatedOrUnsafeBufferHandling' to detect +- New checker: ``security.insecureAPI.DeprecatedOrUnsafeBufferHandling`` to detect uses of unsafe/deprecated buffer handling functions for C code using the C11 standard or newer. -- New checker: 'osx.MIGChecker' to find violations of the Mach Interface +- New checker: ``osx.MIGChecker`` to find violations of the Mach Interface Generator calling convention -- New checker: 'optin.osx.OSObjectCStyleCast' to find C-style casts of of XNU +- New checker: ``optin.osx.OSObjectCStyleCast`` to find C-style casts of of XNU libkern OSObjects -- New package: 'apiModeling.llvm' contains modeling checkers to improve the +- New package: ``apiModeling.llvm`` contains modeling checkers to improve the accuracy of reports on LLVM's own codebase. -- The Static Analyzer received a +- The Static Analyzer received :ref:`developer documentation `. - The UninitializedObject checker is now considered as stable. - (moved from the 'alpha.cplusplus' to the 'optin.cplusplus' package) + (moved from the ``alpha.cplusplus`` to the ``optin.cplusplus`` package) - New frontend flags: The list of available checkers are now split into 3 different frontend flags: