summaryrefslogtreecommitdiffstats
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
commit3e358ccf92934f97ce68af764f60e15e814c71a7 (patch)
tree7cabf84c0cfeca01caa5f2cce4a4112e20d1a63c
parent48cdc58f0a8127059696e21bc7729e0094e77f26 (diff)
downloadbcm5719-llvm-3e358ccf92934f97ce68af764f60e15e814c71a7.tar.gz
bcm5719-llvm-3e358ccf92934f97ce68af764f60e15e814c71a7.zip
DeclPrinter: describe what 'terse' output is.
llvm-svn: 162251
-rw-r--r--clang/include/clang/AST/PrettyPrinter.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/clang/include/clang/AST/PrettyPrinter.h b/clang/include/clang/AST/PrettyPrinter.h
index 6cf41148233..31be46f98a5 100644
--- a/clang/include/clang/AST/PrettyPrinter.h
+++ b/clang/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
OpenPOWER on IntegriCloud