diff options
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. |