Deleted Added
sdiff udiff text old ( 204962 ) new ( 206275 )
full compact
1//===--- PrettyPrinter.h - Classes for aiding with AST printing -*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//

--- 23 unchanged lines hidden (view full) ---

32
33/// \brief Describes how types, statements, expressions, and
34/// declarations should be printed.
35struct PrintingPolicy {
36 /// \brief Create a default printing policy for C.
37 PrintingPolicy(const LangOptions &LO)
38 : Indentation(2), LangOpts(LO), SuppressSpecifiers(false),
39 SuppressTag(false), SuppressScope(false),
40 Dump(false), ConstantArraySizeAsWritten(false) { }
41
42 /// \brief The number of spaces to use to indent each line.
43 unsigned Indentation : 8;
44
45 /// \brief What language we're printing.
46 const LangOptions &LangOpts;
47
48 /// \brief Whether we should suppress printing of the actual specifiers for

--- 43 unchanged lines hidden (view full) ---

92 ///
93 /// will be printed as written or as follows:
94 ///
95 /// \code
96 /// int a[104];
97 /// char a[9] = "A string";
98 /// \endcode
99 bool ConstantArraySizeAsWritten : 1;
100
101};
102
103} // end namespace clang
104
105#endif