diff options
-rw-r--r-- | clang/docs/ReleaseNotes.rst | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index f10af7279c5..97b53b13a83 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/docs/ReleaseNotes.rst @@ -52,16 +52,19 @@ Major New Features Improvements to Clang's diagnostics ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- `-Wpragma-pack` is a new warning that warns in the following cases: - - When a translation unit is missing terminating `#pragma pack (pop)` +- ``-Wpragma-pack`` is a new warning that warns in the following cases: + + - When a translation unit is missing terminating ``#pragma pack (pop)`` directives. + - When leaving an included file that changes the current alignment value, - i.e. when the alignment before `#include` is different to the alignment - after `#include`. - - `-Wpragma-pack-suspicious-include` (disabled by default) warns on an - `#include` when the included file contains structures or unions affected by - a non-default alignment that has been specified using a `#pragma pack` - directive prior to the `#include`. + i.e. when the alignment before ``#include`` is different to the alignment + after ``#include``. + + - ``-Wpragma-pack-suspicious-include`` (disabled by default) warns on an + ``#include`` when the included file contains structures or unions affected by + a non-default alignment that has been specified using a ``#pragma pack`` + directive prior to the ``#include``. Non-comprehensive list of changes in this release ------------------------------------------------- |