r323228 - Name two bool parameters. No behavior change.
Nico Weber via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 23 09:29:41 PST 2018
Author: nico
Date: Tue Jan 23 09:29:41 2018
New Revision: 323228
URL: http://llvm.org/viewvc/llvm-project?rev=323228&view=rev
Log:
Name two bool parameters. No behavior change.
Modified:
cfe/trunk/lib/Format/FormatToken.h
Modified: cfe/trunk/lib/Format/FormatToken.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Format/FormatToken.h?rev=323228&r1=323227&r2=323228&view=diff
==============================================================================
--- cfe/trunk/lib/Format/FormatToken.h (original)
+++ cfe/trunk/lib/Format/FormatToken.h Tue Jan 23 09:29:41 2018
@@ -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.
More information about the cfe-commits
mailing list