[clang-format] [NFC] Fix spelling and grammatical errors in IncludeBlocks text

Fix spelling mistake
Leave space after `.` and before beginning of next sentence
Reword it slightly to try and make it more readable.
Ensure RST is updated correctly (it generated a change)

Reviewed By: HazardyKnusperkeks, curdeius

Differential Revision: https://reviews.llvm.org/D92822
This commit is contained in:
mydeveloperday 2020-12-10 11:06:48 +00:00
parent 5abbf20f0f
commit 254677e9ed
2 changed files with 10 additions and 11 deletions

View File

@ -1713,11 +1713,11 @@ the configuration (without a prefix: ``Auto``).
always need to be first.
There is a third and optional field ``SortPriority`` which can used while
``IncludeBloks = IBS_Regroup`` to define the priority in which ``#includes``
should be ordered, and value of ``Priority`` defines the order of
``#include blocks`` and also enables to group ``#includes`` of different
priority for order.``SortPriority`` is set to the value of ``Priority``
as default if it is not assigned.
``IncludeBlocks = IBS_Regroup`` to define the priority in which
``#includes`` should be ordered. The value of ``Priority`` defines the
order of ``#include blocks`` and also allows the grouping of ``#includes``
of different priority. ``SortPriority`` is set to the value of
``Priority`` as default if it is not assigned.
Each regular expression can be marked as case sensitive with the field
``CaseSensitive``, per default it is not.

View File

@ -89,12 +89,11 @@ struct IncludeStyle {
/// always need to be first.
///
/// There is a third and optional field ``SortPriority`` which can used while
/// ``IncludeBloks = IBS_Regroup`` to define the priority in which
/// ``#includes`` should be ordered, and value of ``Priority`` defines the
/// order of
/// ``#include blocks`` and also enables to group ``#includes`` of different
/// priority for order.``SortPriority`` is set to the value of ``Priority``
/// as default if it is not assigned.
/// ``IncludeBlocks = IBS_Regroup`` to define the priority in which
/// ``#includes`` should be ordered. The value of ``Priority`` defines the
/// order of ``#include blocks`` and also allows the grouping of ``#includes``
/// of different priority. ``SortPriority`` is set to the value of
/// ``Priority`` as default if it is not assigned.
///
/// Each regular expression can be marked as case sensitive with the field
/// ``CaseSensitive``, per default it is not.