Author: fpichet
Date: Sun Jun  5 21:57:59 2011
New Revision: 132675

URL: http://llvm.org/viewvc/llvm-project?rev=132675&view=rev
Log:
ok now, let's fix that MSVC warning for real.

Modified:
    cfe/trunk/include/clang/Sema/Sema.h

Modified: cfe/trunk/include/clang/Sema/Sema.h
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Sema/Sema.h?rev=132675&r1=132674&r2=132675&view=diff
==============================================================================
--- cfe/trunk/include/clang/Sema/Sema.h (original)
+++ cfe/trunk/include/clang/Sema/Sema.h Sun Jun  5 21:57:59 2011
@@ -630,7 +630,7 @@
 
     bool hasConstParamMatch() const { return Pair.getInt() & 0x2; }
     void setConstParamMatch(bool B) {
-      Pair.setInt(unsigned(B) << 1 | hasSuccess());
+      Pair.setInt(B << 1 | unsigned(hasSuccess()));
     }
   };
 


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to