|
clang 24.0.0git
|
Includes sorting options. More...
#include "clang/Format/Format.h"
Public Member Functions | |
| bool | operator== (const SortIncludesOptions &R) const |
| bool | operator!= (const SortIncludesOptions &R) const |
Public Attributes | |
| bool | Enabled |
| If true, includes are sorted based on the other suboptions below. (Never is deprecated by Enabled: false.) | |
| bool | IgnoreCase |
| Whether or not includes are sorted in a case-insensitive fashion. (CaseSensitive and CaseInsensitive are deprecated by IgnoreCase: false and IgnoreCase: true, respectively.) | |
| bool | IgnoreExtension |
| When sorting includes in each block, only take file extensions into account if two includes compare equal otherwise. | |
| bool | Natural |
| Whether or not includes are sorted by natural ordering i.e., whether embedded runs of digits are compared as numbers rather than sequences of characters. | |
|
inline |
|
inline |
Definition at line 5086 of file Format.h.
References Enabled, IgnoreCase, IgnoreExtension, and Natural.
| bool clang::SortIncludesOptions::Enabled |
If true, includes are sorted based on the other suboptions below. (Never is deprecated by Enabled: false.)
Definition at line 5055 of file Format.h.
Referenced by operator==().
| bool clang::SortIncludesOptions::IgnoreCase |
Whether or not includes are sorted in a case-insensitive fashion. (CaseSensitive and CaseInsensitive are deprecated by IgnoreCase: false and IgnoreCase: true, respectively.)
Definition at line 5067 of file Format.h.
Referenced by operator==().
| bool clang::SortIncludesOptions::IgnoreExtension |
When sorting includes in each block, only take file extensions into account if two includes compare equal otherwise.
Definition at line 5076 of file Format.h.
Referenced by operator==().
| bool clang::SortIncludesOptions::Natural |
Whether or not includes are sorted by natural ordering i.e., whether embedded runs of digits are compared as numbers rather than sequences of characters.
Definition at line 5085 of file Format.h.
Referenced by operator==().