summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2016-06-21 17:00:20 +0000
committerDaniel Jasper <djasper@google.com>2016-06-21 17:00:20 +0000
commitf8bcc2445deffad9864254a3e21fca66b133a81d (patch)
treeea81791be819a4d602e49cfe6dd0125052c4f213 /clang/lib
parent4f1c86b77c9a4d29bd3679e5d67322e83b542b42 (diff)
downloadbcm5719-llvm-f8bcc2445deffad9864254a3e21fca66b133a81d.tar.gz
bcm5719-llvm-f8bcc2445deffad9864254a3e21fca66b133a81d.zip
clang-format: [JS] Add a Closure Compiler JSDoc tags to the default
Google configuration so that it isn't line-wrapped. llvm-svn: 273285
Diffstat (limited to 'clang/lib')
-rw-r--r--clang/lib/Format/Format.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Format/Format.cpp b/clang/lib/Format/Format.cpp
index 4e136941162..6f7ee274e99 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/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;
OpenPOWER on IntegriCloud