diff options
| author | Krasimir Georgiev <krasimir@google.com> | 2018-10-01 18:41:21 +0000 |
|---|---|---|
| committer | Krasimir Georgiev <krasimir@google.com> | 2018-10-01 18:41:21 +0000 |
| commit | be5cda81d5f09add18cb1b215500f6165a1ef481 (patch) | |
| tree | 04bfcb015eedb6e9a7d6b65b60f553808e57ab65 | |
| parent | e072934d2888549a7154611c1bb02b8166ed7234 (diff) | |
| download | bcm5719-llvm-be5cda81d5f09add18cb1b215500f6165a1ef481.tar.gz bcm5719-llvm-be5cda81d5f09add18cb1b215500f6165a1ef481.zip | |
[clang-format] Update comment, NFCI
The initializer of `ParameterCount` was updated from 1 to 0 in r175165,
but the comment was never touched:
https://github.com/llvm-mirror/clang/commit/9fc56f2636137fcde8acb38865555ed6c7b84dfd
llvm-svn: 343517
| -rw-r--r-- | clang/lib/Format/FormatToken.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/clang/lib/Format/FormatToken.h b/clang/lib/Format/FormatToken.h index 28757c25dc8..f65fe5b0049 100644 --- a/clang/lib/Format/FormatToken.h +++ b/clang/lib/Format/FormatToken.h @@ -188,10 +188,6 @@ struct FormatToken { bool ClosesTemplateDeclaration = false; /// Number of parameters, if this is "(", "[" or "<". - /// - /// This is initialized to 1 as we don't need to distinguish functions with - /// 0 parameters from functions with 1 parameter. Thus, we can simply count - /// the number of commas. unsigned ParameterCount = 0; /// Number of parameters that are nested blocks, |

