summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-doc/Serialize.h
diff options
context:
space:
mode:
authorJulie Hockett <juliehockett@google.com>2018-07-20 18:49:55 +0000
committerJulie Hockett <juliehockett@google.com>2018-07-20 18:49:55 +0000
commiteb50a2e8d4b6bde7a8b8d57995c274962aeb33e8 (patch)
treebedabc003a8dae272761c33edec5ca8a597c820e /clang-tools-extra/clang-doc/Serialize.h
parent1434b816014f9c027fbd23c5114338a81a1b3bca (diff)
downloadbcm5719-llvm-eb50a2e8d4b6bde7a8b8d57995c274962aeb33e8.tar.gz
bcm5719-llvm-eb50a2e8d4b6bde7a8b8d57995c274962aeb33e8.zip
[clang-doc] Adding PublicOnly flag
Submitted on behalf of Annie Cherkaev (@anniecherk) Added a flag which, when enabled, documents only those methods and fields which have a Public attribute. Differential Revision: https://reviews.llvm.org/D48395 llvm-svn: 337602
Diffstat (limited to 'clang-tools-extra/clang-doc/Serialize.h')
-rw-r--r--clang-tools-extra/clang-doc/Serialize.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/clang-tools-extra/clang-doc/Serialize.h b/clang-tools-extra/clang-doc/Serialize.h
index 5f13798bcdf..5181cf61be3 100644
--- a/clang-tools-extra/clang-doc/Serialize.h
+++ b/clang-tools-extra/clang-doc/Serialize.h
@@ -29,15 +29,15 @@ namespace doc {
namespace serialize {
std::string emitInfo(const NamespaceDecl *D, const FullComment *FC,
- int LineNumber, StringRef File);
+ int LineNumber, StringRef File, bool PublicOnly);
std::string emitInfo(const RecordDecl *D, const FullComment *FC, int LineNumber,
- StringRef File);
+ StringRef File, bool PublicOnly);
std::string emitInfo(const EnumDecl *D, const FullComment *FC, int LineNumber,
- StringRef File);
+ StringRef File, bool PublicOnly);
std::string emitInfo(const FunctionDecl *D, const FullComment *FC,
- int LineNumber, StringRef File);
+ int LineNumber, StringRef File, bool PublicOnly);
std::string emitInfo(const CXXMethodDecl *D, const FullComment *FC,
- int LineNumber, StringRef File);
+ int LineNumber, StringRef File, bool PublicOnly);
// Function to hash a given USR value for storage.
// As USRs (Unified Symbol Resolution) could be large, especially for functions
OpenPOWER on IntegriCloud