diff options
| author | Julie Hockett <juliehockett@google.com> | 2018-07-20 18:49:55 +0000 |
|---|---|---|
| committer | Julie Hockett <juliehockett@google.com> | 2018-07-20 18:49:55 +0000 |
| commit | eb50a2e8d4b6bde7a8b8d57995c274962aeb33e8 (patch) | |
| tree | bedabc003a8dae272761c33edec5ca8a597c820e /clang-tools-extra/clang-doc/Serialize.h | |
| parent | 1434b816014f9c027fbd23c5114338a81a1b3bca (diff) | |
| download | bcm5719-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.h | 10 |
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 |

