aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitri Gribenko <gribozavr@gmail.com>2012-08-21 02:30:28 +0000
committerDmitri Gribenko <gribozavr@gmail.com>2012-08-21 02:30:28 +0000
commiteb8f2efb17c74620510a38cb437e792ea9c76021 (patch)
tree232348e19925d00157c8a1f9b7bbc9d3c65ee351
parent6e8686794e12b76f822fa71266a2cd76459e6a9a (diff)
DeclPrinter: describe what 'terse' output is.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@162251 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/AST/PrettyPrinter.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/clang/AST/PrettyPrinter.h b/include/clang/AST/PrettyPrinter.h
index 6cf4114823..31be46f98a 100644
--- a/include/clang/AST/PrettyPrinter.h
+++ b/include/clang/AST/PrettyPrinter.h
@@ -134,7 +134,12 @@ struct PrintingPolicy {
/// 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