From e130df5734e0870fa0696fce036fb1de6d06fd8d Mon Sep 17 00:00:00 2001 From: Krasimir Georgiev Date: Mon, 1 Oct 2018 18:41:21 +0000 Subject: [PATCH] [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 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@343517 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Format/FormatToken.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/Format/FormatToken.h b/lib/Format/FormatToken.h index 28757c25dc..f65fe5b004 100644 --- a/lib/Format/FormatToken.h +++ b/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, -- 2.50.1