[clang-format] Update comment, NFCI
authorKrasimir Georgiev <krasimir@google.com>
Mon, 1 Oct 2018 18:41:21 +0000 (18:41 +0000)
committerKrasimir Georgiev <krasimir@google.com>
Mon, 1 Oct 2018 18:41:21 +0000 (18:41 +0000)
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

clang/lib/Format/FormatToken.h

index 28757c2..f65fe5b 100644 (file)
@@ -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,