[cfe-commits] r162251 - /cfe/trunk/include/clang/AST/PrettyPrinter.h
Dmitri Gribenko
gribozavr at gmail.com
Mon Aug 20 19:30:28 PDT 2012
Author: gribozavr
Date: Mon Aug 20 21:30:28 2012
New Revision: 162251
URL: http://llvm.org/viewvc/llvm-project?rev=162251&view=rev
Log:
DeclPrinter: describe what 'terse' output is.
Modified:
cfe/trunk/include/clang/AST/PrettyPrinter.h
Modified: cfe/trunk/include/clang/AST/PrettyPrinter.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/PrettyPrinter.h?rev=162251&r1=162250&r2=162251&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/PrettyPrinter.h (original)
+++ cfe/trunk/include/clang/AST/PrettyPrinter.h Mon Aug 20 21:30:28 2012
@@ -134,7 +134,12 @@
/// doesn't actually have 'bool' (because, e.g., it is defined as a macro).
unsigned Bool : 1;
- /// Don't print contents of DeclContexts. Used to provide a 'terse' output.
+ /// \brief Don't print contents of DeclContexts. Used to provide a 'terse'
+ /// output.
+ ///
+ /// For example, in this mode we don't print function bodies, class members,
+ /// declarations inside namespaces etc. Effectively, this should print
+ /// only the requested declaration.
unsigned DontRecurseInDeclContext : 1;
/// \brief If we are "dumping" rather than "pretty-printing", this points to
More information about the cfe-commits
mailing list