]> granicus.if.org Git - clang/commitdiff
clang-format: [JS] Support @see annotations in JSDoc comments in Google
authorDaniel Jasper <djasper@google.com>
Sun, 7 Feb 2016 21:22:16 +0000 (21:22 +0000)
committerDaniel Jasper <djasper@google.com>
Sun, 7 Feb 2016 21:22:16 +0000 (21:22 +0000)
style.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@260057 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Format/Format.cpp

index acd520ef546395b1b282e4205c6215acafa129b4..28648cafb1e13e89f6371de137babf6ef16879b3 100644 (file)
@@ -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) {