From 4ca3ad678789018e7b37e9319b0da9f5f741eb6b Mon Sep 17 00:00:00 2001 From: Daniel Jasper Date: Mon, 22 Feb 2016 20:24:11 +0000 Subject: [PATCH] clang-format: [JS] Add @return to the supported JSDoc pragmas in Google style. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@261563 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Format/Format.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Format/Format.cpp b/lib/Format/Format.cpp index 28648cafb1..85a0152e29 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|see|visibility) "; + GoogleStyle.CommentPragmas = "@(export|return|see|visibility) "; GoogleStyle.MaxEmptyLinesToKeep = 3; GoogleStyle.SpacesInContainerLiterals = false; } else if (Language == FormatStyle::LK_Proto) { -- 2.50.1