Neil points out that commas don't do UACs either.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50631 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Lex/PPExpressions.cpp b/lib/Lex/PPExpressions.cpp
index 3c0bf5c..aea203f 100644
--- a/lib/Lex/PPExpressions.cpp
+++ b/lib/Lex/PPExpressions.cpp
@@ -413,7 +413,7 @@
     // for shifts.
     llvm::APSInt Res(LHS.getBitWidth());
     if (Operator != tok::question && Operator != tok::lessless &&
-        Operator != tok::greatergreater) {
+        Operator != tok::greatergreater && Operator != tok::comma) {
       Res.setIsUnsigned(LHS.isUnsigned()|RHS.isUnsigned());
       // If this just promoted something from signed to unsigned, and if the
       // value was negative, warn about it.