From 47867e34e030c41d8ceb7c0b57208bb0c6c4a6b1 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Tue, 23 Jan 2018 17:29:41 +0000 Subject: Name two bool parameters. No behavior change. llvm-svn: 323228 --- clang/lib/Format/FormatToken.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'clang/lib/Format') diff --git a/clang/lib/Format/FormatToken.h b/clang/lib/Format/FormatToken.h index 3dc0ab0e7cc..60c11a3d080 100644 --- a/clang/lib/Format/FormatToken.h +++ b/clang/lib/Format/FormatToken.h @@ -441,7 +441,8 @@ struct FormatToken { } prec::Level getPrecedence() const { - return getBinOpPrecedence(Tok.getKind(), true, true); + return getBinOpPrecedence(Tok.getKind(), /*GreaterThanIsOperator=*/true, + /*CPlusPlus11=*/true); } /// \brief Returns the previous token ignoring comments. -- cgit v1.2.3