Skip to content

Commit c95c8f2

Browse files
committed
Fix a bug
llvm-svn: 39128
1 parent cf6bc66 commit c95c8f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/Lex/PPExpressions.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,8 @@ static bool EvaluateDirectiveSubExpr(int &LHS, unsigned MinPrec,
322322
LHS /= RHS;
323323
break;
324324
case tok::star : LHS *= RHS; break;
325-
case tok::lessless: LHS << RHS; break; // FIXME: shift amt overflow?
326-
case tok::greatergreater: LHS >> RHS; break; // FIXME: signed vs unsigned
325+
case tok::lessless: LHS <<= RHS; break; // FIXME: shift amt overflow?
326+
case tok::greatergreater: LHS >>= RHS; break; // FIXME: signed vs unsigned
327327
case tok::plus : LHS += RHS; break;
328328
case tok::minus: LHS -= RHS; break;
329329
case tok::lessequal: LHS = LHS <= RHS; break;

0 commit comments

Comments
 (0)