[PATCH] D50138: [clang-format] Add @private to the list of jsdoc annotations

Krasimir Georgiev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 1 04:17:06 PDT 2018


krasimir created this revision.
krasimir added a reviewer: mprobst.
Herald added subscribers: cfe-commits, acoomans.

Repository:
  rC Clang

https://reviews.llvm.org/D50138

Files:
  lib/Format/BreakableToken.cpp


Index: lib/Format/BreakableToken.cpp
===================================================================
--- lib/Format/BreakableToken.cpp
+++ lib/Format/BreakableToken.cpp
@@ -514,7 +514,7 @@
 const llvm::StringSet<>
     BreakableBlockComment::ContentIndentingJavadocAnnotations = {
         "@param", "@return",     "@returns", "@throws",  "@type", "@template",
-        "@see",   "@deprecated", "@define",  "@exports", "@mods",
+        "@see",   "@deprecated", "@define",  "@exports", "@mods", "@private",
 };
 
 unsigned BreakableBlockComment::getContentIndent(unsigned LineIndex) const {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50138.158497.patch
Type: text/x-patch
Size: 595 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180801/4bec35bc/attachment.bin>


More information about the cfe-commits mailing list