14 #ifndef LLVM_CLANG_AST_PRETTYPRINTER_H
15 #define LLVM_CLANG_AST_PRETTYPRINTER_H
PrintingPolicy(const LangOptions &LO)
Create a default printing policy for C.
unsigned MSWChar
When true, print the built-in wchar_t type as __wchar_t. For use in Microsoft mode when wchar_t is no...
Describes how types, statements, expressions, and declarations should be printed. ...
unsigned TerseOutput
Provide a 'terse' output.
unsigned SuppressLifetimeQualifiers
When true, suppress printing of lifetime qualifier in ARC.
bool SuppressInitializers
Suppress printing of variable initializers.
Keeps track of the various options that can be enabled, which controls the dialect of C or C++ that i...
unsigned SuppressStrongLifetime
When true, suppress printing of the __strong lifetime qualifier in ARC.
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified...
bool SuppressScope
Suppresses printing of scope specifiers.
unsigned Half
When true, print the half-precision floating-point type as 'half' instead of '__fp16'.
LangOptions LangOpts
What language we're printing.
Defines the clang::LangOptions interface.
virtual bool handledStmt(Stmt *E, raw_ostream &OS)=0
unsigned Bool
Whether we can use 'bool' rather than '_Bool', even if the language doesn't actually have 'bool' (bec...
unsigned Indentation
The number of spaces to use to indent each line.
bool SuppressTag
Whether type printing should skip printing the actual tag type.
bool SuppressSpecifiers
Whether we should suppress printing of the actual specifiers for the given type or declaration...
bool SuppressTagKeyword
Whether type printing should skip printing the tag keyword.
bool SuppressUnwrittenScope
Suppress printing parts of scope specifiers that don't need to be written, e.g., for inline or anonym...
bool ConstantArraySizeAsWritten
Whether we should print the sizes of constant array expressions as written in the sources...
bool AnonymousTagLocations
When printing an anonymous tag name, also print the location of that entity (e.g., "enum <anonymous at t.h:10:5>"). Otherwise, just prints "(anonymous)" for the name.
unsigned IncludeNewlines
When true, include newlines after statements like "break", etc.
unsigned PolishForDeclaration
When true, do certain refinement needed for producing proper declaration tag; such as...