From: Daniel Jasper Date: Tue, 21 Jun 2016 17:00:20 +0000 (+0000) Subject: clang-format: [JS] Add a Closure Compiler JSDoc tags to the default X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=87f4614b43bd7e639b94ebc79dddca225ead74f9;p=clang clang-format: [JS] Add a Closure Compiler JSDoc tags to the default Google configuration so that it isn't line-wrapped. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@273285 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Format/Format.cpp b/lib/Format/Format.cpp index 4e13694116..6f7ee274e9 100644 --- a/lib/Format/Format.cpp +++ b/lib/Format/Format.cpp @@ -612,7 +612,7 @@ FormatStyle getGoogleStyle(FormatStyle::LanguageKind Language) { GoogleStyle.AllowShortFunctionsOnASingleLine = FormatStyle::SFS_Inline; GoogleStyle.AlwaysBreakBeforeMultilineStrings = false; GoogleStyle.BreakBeforeTernaryOperators = false; - GoogleStyle.CommentPragmas = "@(export|return|see|visibility) "; + GoogleStyle.CommentPragmas = "@(export|requirecss|return|see|visibility) "; GoogleStyle.MaxEmptyLinesToKeep = 3; GoogleStyle.NamespaceIndentation = FormatStyle::NI_All; GoogleStyle.SpacesInContainerLiterals = false;