[PATCH] D92822: [clang-format] [NFC] Fix spelling and grammatical errors in IncludeBlocks text
MyDeveloperDay via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Dec 8 01:03:16 PST 2020
MyDeveloperDay created this revision.
MyDeveloperDay added reviewers: HazardyKnusperkeks, curdeius, JakeMerdichAMD, klimek.
MyDeveloperDay added projects: clang-format, clang.
MyDeveloperDay requested review of this revision.
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)
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D92822
Files:
clang/docs/ClangFormatStyleOptions.rst
clang/include/clang/Tooling/Inclusions/IncludeStyle.h
Index: clang/include/clang/Tooling/Inclusions/IncludeStyle.h
===================================================================
--- clang/include/clang/Tooling/Inclusions/IncludeStyle.h
+++ clang/include/clang/Tooling/Inclusions/IncludeStyle.h
@@ -89,12 +89,11 @@
/// 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.
Index: clang/docs/ClangFormatStyleOptions.rst
===================================================================
--- clang/docs/ClangFormatStyleOptions.rst
+++ clang/docs/ClangFormatStyleOptions.rst
@@ -1713,11 +1713,11 @@
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92822.310103.patch
Type: text/x-patch
Size: 2362 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201208/ed62f722/attachment.bin>
More information about the cfe-commits
mailing list