Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
clang/include/clang/Format/Format.h
Show First 20 Lines • Show All 2,923 Lines • ▼ Show 20 Lines | enum PackConstructorInitializersStyle : int8_t { | ||||
/// : aaaaaaaaaaaaaaaaaaaa(), bbbbbbbbbbbbbbbbbbbb(), ddddddddddddd() | /// : aaaaaaaaaaaaaaaaaaaa(), bbbbbbbbbbbbbbbbbbbb(), ddddddddddddd() | ||||
/// | /// | ||||
/// Constructor() | /// Constructor() | ||||
/// : aaaaaaaaaaaaaaaaaaaa(), | /// : aaaaaaaaaaaaaaaaaaaa(), | ||||
/// bbbbbbbbbbbbbbbbbbbb(), | /// bbbbbbbbbbbbbbbbbbbb(), | ||||
/// cccccccccccccccccccc() | /// cccccccccccccccccccc() | ||||
/// \endcode | /// \endcode | ||||
PCIS_NextLine, | PCIS_NextLine, | ||||
/// Put all constructor initializers on the next line if they fit. | |||||
/// Otherwise, put each one on its own line. | |||||
/// \code | |||||
/// Constructor() | |||||
/// : a(), b() | |||||
/// | |||||
/// Constructor() | |||||
/// : aaaaaaaaaaaaaaaaaaaa(), bbbbbbbbbbbbbbbbbbbb(), ddddddddddddd() | |||||
/// | |||||
/// Constructor() | |||||
/// : aaaaaaaaaaaaaaaaaaaa(), | |||||
/// bbbbbbbbbbbbbbbbbbbb(), | |||||
/// cccccccccccccccccccc() | |||||
/// \endcode | |||||
PCIS_NextLineOnly, | |||||
}; | }; | ||||
/// The pack constructor initializers style to use. | /// The pack constructor initializers style to use. | ||||
/// \version 14 | /// \version 14 | ||||
PackConstructorInitializersStyle PackConstructorInitializers; | PackConstructorInitializersStyle PackConstructorInitializers; | ||||
/// The penalty for breaking around an assignment operator. | /// The penalty for breaking around an assignment operator. | ||||
/// \version 5 | /// \version 5 | ||||
▲ Show 20 Lines • Show All 1,674 Lines • Show Last 20 Lines |