diff options
author | Krasimir Georgiev <krasimir@google.com> | 2018-07-30 12:22:41 +0000 |
---|---|---|
committer | Krasimir Georgiev <krasimir@google.com> | 2018-07-30 12:22:41 +0000 |
commit | fc8388f1fbbca891c016e50dd261c1db384ad82c (patch) | |
tree | fa3989f140f351b11a51759cf48eba48932d1068 /lib/Format | |
parent | a1448de5327a4828d65844a659d7e9c6af722fe1 (diff) |
[clang-format] Silence -Wdocumentation warnings
introduced in r338232
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@338245 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Format')
-rw-r--r-- | lib/Format/BreakableToken.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/Format/BreakableToken.h b/lib/Format/BreakableToken.h index a2a818f911..10e1801780 100644 --- a/lib/Format/BreakableToken.h +++ b/lib/Format/BreakableToken.h @@ -139,12 +139,14 @@ public: /// Returns additional content indent required for the second line after the /// content at line \p LineIndex is broken. /// - /// For example, Javadoc @param annotations require and indent of 4 spaces and - /// in this example getContentIndex(1) returns 4. - /// /** - /// * @param loooooooooooooong line - /// * continuation - /// */ + // (Next lines do not start with `///` since otherwise -Wdocumentation picks + // up the example annotations and generates warnings for them) + // For example, Javadoc @param annotations require and indent of 4 spaces and + // in this example getContentIndex(1) returns 4. + // /** + // * @param loooooooooooooong line + // * continuation + // */ virtual unsigned getContentIndent(unsigned LineIndex) const { return 0; } |