aboutsummaryrefslogtreecommitdiff
path: root/lib/Basic/OperatorPrecedence.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-01-02 11:42:31 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-01-02 11:42:31 +0000
commit80ad52f327b532bded5c5b0ee38779d841c6cd35 (patch)
tree7432bb450d11702b6816ebb0342fa513af6822f8 /lib/Basic/OperatorPrecedence.cpp
parentb99083e60325a28063fb588f458a871151971fdc (diff)
s/CPlusPlus0x/CPlusPlus11/g
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171367 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/OperatorPrecedence.cpp')
-rw-r--r--lib/Basic/OperatorPrecedence.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Basic/OperatorPrecedence.cpp b/lib/Basic/OperatorPrecedence.cpp
index 7782decbba..f9de231c5e 100644
--- a/lib/Basic/OperatorPrecedence.cpp
+++ b/lib/Basic/OperatorPrecedence.cpp
@@ -16,7 +16,7 @@
namespace clang {
prec::Level getBinOpPrecedence(tok::TokenKind Kind, bool GreaterThanIsOperator,
- bool CPlusPlus0x) {
+ bool CPlusPlus11) {
switch (Kind) {
case tok::greater:
// C++ [temp.names]p3:
@@ -34,7 +34,7 @@ prec::Level getBinOpPrecedence(tok::TokenKind Kind, bool GreaterThanIsOperator,
// consecutive but distinct > tokens, the first of which is
// taken as the end of the template-argument-list and completes
// the template-id. [...]
- if (GreaterThanIsOperator || !CPlusPlus0x)
+ if (GreaterThanIsOperator || !CPlusPlus11)
return prec::Shift;
return prec::Unknown;