diff options
-rw-r--r-- | include/clang/AST/PrettyPrinter.h | 7 |
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 |