diff options
author | Nico Weber <nicolasweber@gmx.de> | 2018-01-23 17:29:41 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2018-01-23 17:29:41 +0000 |
commit | 47867e34e030c41d8ceb7c0b57208bb0c6c4a6b1 (patch) | |
tree | 2df1c220b27752e79dbda551e484eb7c668a02f4 /clang/lib/Format/FormatToken.h | |
parent | 6e4d53bc2bce5335db2bb1cc29eff4e72bb8fe79 (diff) | |
download | bcm5719-llvm-47867e34e030c41d8ceb7c0b57208bb0c6c4a6b1.tar.gz bcm5719-llvm-47867e34e030c41d8ceb7c0b57208bb0c6c4a6b1.zip |
Name two bool parameters. No behavior change.
llvm-svn: 323228
Diffstat (limited to 'clang/lib/Format/FormatToken.h')
-rw-r--r-- | clang/lib/Format/FormatToken.h | 3 |
1 files changed, 2 insertions, 1 deletions
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. |