From: Daniel Jasper Date: Sun, 7 Feb 2016 21:22:16 +0000 (+0000) Subject: clang-format: [JS] Support @see annotations in JSDoc comments in Google X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca0c7dfac2ba2e890c93020fc7f0e0d808028f6b;p=clang clang-format: [JS] Support @see annotations in JSDoc comments in Google style. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@260057 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Format/Format.cpp b/lib/Format/Format.cpp index acd520ef54..28648cafb1 100644 --- a/lib/Format/Format.cpp +++ b/lib/Format/Format.cpp @@ -587,7 +587,7 @@ FormatStyle getGoogleStyle(FormatStyle::LanguageKind Language) { GoogleStyle.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_Inline; GoogleStyle.AlwaysBreakBeforeMultilineStrings = false; GoogleStyle.BreakBeforeTernaryOperators = false; - GoogleStyle.CommentPragmas = "@(export|visibility) {"; + GoogleStyle.CommentPragmas = "@(export|see|visibility) "; GoogleStyle.MaxEmptyLinesToKeep = 3; GoogleStyle.SpacesInContainerLiterals = false; } else if (Language == FormatStyle::LK_Proto) {