forked from OSchip/llvm-project
[NFC] Use clang-format on PrintingPolicy::PrintingPolicy() after fd5c386f743
The white-space change was causing conflicts downstream. rdar://problem/46486841 llvm-svn: 348379
This commit is contained in:
parent
04d8dca7ab
commit
c8e97b480a
|
@ -38,21 +38,19 @@ public:
|
||||||
struct PrintingPolicy {
|
struct PrintingPolicy {
|
||||||
/// Create a default printing policy for the specified language.
|
/// Create a default printing policy for the specified language.
|
||||||
PrintingPolicy(const LangOptions &LO)
|
PrintingPolicy(const LangOptions &LO)
|
||||||
: Indentation(2), SuppressSpecifiers(false),
|
: Indentation(2), SuppressSpecifiers(false),
|
||||||
SuppressTagKeyword(LO.CPlusPlus),
|
SuppressTagKeyword(LO.CPlusPlus), IncludeTagDefinition(false),
|
||||||
IncludeTagDefinition(false), SuppressScope(false),
|
SuppressScope(false), SuppressUnwrittenScope(false),
|
||||||
SuppressUnwrittenScope(false), SuppressInitializers(false),
|
SuppressInitializers(false), ConstantArraySizeAsWritten(false),
|
||||||
ConstantArraySizeAsWritten(false), AnonymousTagLocations(true),
|
AnonymousTagLocations(true), SuppressStrongLifetime(false),
|
||||||
SuppressStrongLifetime(false), SuppressLifetimeQualifiers(false),
|
SuppressLifetimeQualifiers(false),
|
||||||
SuppressTemplateArgsInCXXConstructors(false),
|
SuppressTemplateArgsInCXXConstructors(false), Bool(LO.Bool),
|
||||||
Bool(LO.Bool), Restrict(LO.C99),
|
Restrict(LO.C99), Alignof(LO.CPlusPlus11), UnderscoreAlignof(LO.C11),
|
||||||
Alignof(LO.CPlusPlus11), UnderscoreAlignof(LO.C11),
|
UseVoidForZeroParams(!LO.CPlusPlus), TerseOutput(false),
|
||||||
UseVoidForZeroParams(!LO.CPlusPlus),
|
PolishForDeclaration(false), Half(LO.Half),
|
||||||
TerseOutput(false), PolishForDeclaration(false),
|
MSWChar(LO.MicrosoftExt && !LO.WChar), IncludeNewlines(true),
|
||||||
Half(LO.Half), MSWChar(LO.MicrosoftExt && !LO.WChar),
|
MSVCFormatting(false), ConstantsAsWritten(false),
|
||||||
IncludeNewlines(true), MSVCFormatting(false),
|
SuppressImplicitBase(false), FullyQualifiedName(false) {}
|
||||||
ConstantsAsWritten(false), SuppressImplicitBase(false),
|
|
||||||
FullyQualifiedName(false) { }
|
|
||||||
|
|
||||||
/// Adjust this printing policy for cases where it's known that we're
|
/// Adjust this printing policy for cases where it's known that we're
|
||||||
/// printing C++ code (for instance, if AST dumping reaches a C++-only
|
/// printing C++ code (for instance, if AST dumping reaches a C++-only
|
||||||
|
|
Loading…
Reference in New Issue