summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2016-02-07 21:22:16 +0000
committerDaniel Jasper <djasper@google.com>2016-02-07 21:22:16 +0000
commit8cde3b4b1e6aee96427d45dca469dc35fb73284c (patch)
treef3e84dc19eea0725a8d8e6081335117fc8410651 /clang/lib/Format
parent699daa81d4adc8b4eb7cb6f1fa852c1b2c3f76d5 (diff)
downloadbcm5719-llvm-8cde3b4b1e6aee96427d45dca469dc35fb73284c.tar.gz
bcm5719-llvm-8cde3b4b1e6aee96427d45dca469dc35fb73284c.zip
clang-format: [JS] Support @see annotations in JSDoc comments in Google
style. llvm-svn: 260057
Diffstat (limited to 'clang/lib/Format')
-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 acd520ef546..28648cafb1e 100644
--- a/clang/lib/Format/Format.cpp
+++ b/clang/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) {
OpenPOWER on IntegriCloud